@property
    def state(self):
        return self._state
Return the state of the device if any.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/hikvisioncam.py/HikvisionMotionSwitch.state