Fix media_player power state (#64136)
parent
f4b5b56427
commit
946de01b94
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue