@property
    def is_on(self):
        return bool(self.arest.data.get('state'))
Return true if the binary sensor is on.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/binary_sensor/arest.py/ArestBinarySensor.is_on