bendavid/aiopylgtv

power_off turns the tv on

basnijholt opened this issue · 2 comments

I noticed this in Home Assistant.

There should be an additional check, that the code doesn't execute if the TV is off.

This is patched around in home assistant by home-assistant/core#30998 but I will add a more proper fix here together with some other improvements.

Fixed by c56be39