Closed awe007 closed 3 years ago
Most Samsung TVs turn off and disconnect from the WIFI when they are turned off. Due to this, you need some sort of third party that can turn on the TV.
In the example given in the read me, they using a KODI box which is plugged directly into TV and using a HDMI-CEC command to turn on the TV through KODI:
- service: kodi.call_method
data:
entity_id: media_player.samsung_led32_ue32h6400
method: Addons.ExecuteAddon
addonid: script.json-cec
params:
command: turn_on 0
I was able to do something similar using a Harmony Remote:
turn_on_action:
- service: remote.send_command
data:
entity_id: remote.harmony_hub
command:
- PowerOn
device: deviceID_from_Harmony_App
I hope this gives you some ideas on how to turn on the TV.
Please help me, what i must write in config, for turn on my tv?
I can't find service from example: turn_on_action:
This is my config section from configuration.yaml
Also i trying this command
And this:
And all it's not working for me :(
How to write a correct config for turn on/off this TV from Home Assistant?