@property
    def is_on(self):
        return self._state == STATE_ON
Return true if device is on.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/hikvisioncam.py/HikvisionMotionSwitch.is_on