@property
    def sensor_class(self):
        return self._sensor_type
Return the class of this sensor.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/demo.py/DemoBinarySensor.sensor_class