@property
    def state(self):
        if self._pwstate == "PWSTANDBY":
            return STATE_OFF
        if self._pwstate == "PWON":
            return STATE_ON

        return STATE_UNKNOWN
Return the state of the device.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/media_player/denon.py/DenonDevice.state