roberodin / ha-samsungtv-custom

📺 HomeAssistant - SamsungTV Custom Component
Apache License 2.0
122 stars 177 forks source link

KEY_POWER on 2016+ TV #20

Open terminet85 opened 4 years ago

terminet85 commented 4 years ago

Hi, firstly great job!

I got an 2016+ TV and I've one question about:

Please note that some codes are different on the 2016+ TVs. For example, KEY_POWEROFF is KEY_POWER on the newer TVs.

For what I'm doing with automation will be great if I can send and KEY_POWEROFF and KEY_POWERON, because automations are triggered twice and with KEY_POWER only, my TV turn off and then on.

Do you have any advice for resolve this "issue"?