From 946de01b94e2f33785501f0c4773d886bade4cb6 Mon Sep 17 00:00:00 2001 From: Anton Malko Date: Sat, 15 Jan 2022 02:52:18 +0300 Subject: [PATCH] Fix media_player power state (#64136) --- homeassistant/components/lookin/media_player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/lookin/media_player.py b/homeassistant/components/lookin/media_player.py index a0eceb62f15..2c3d30e82a6 100644 --- a/homeassistant/components/lookin/media_player.py +++ b/homeassistant/components/lookin/media_player.py @@ -175,7 +175,7 @@ class LookinMedia(LookinPowerEntity, MediaPlayerEntity): state = status[0] mute = status[2] - self._attr_state = STATE_STANDBY if state == "1" else STATE_ON + self._attr_state = STATE_ON if state == "1" else STATE_STANDBY self._attr_is_volume_muted = mute == "0" def _async_push_update(self, event: UDPEvent) -> None: