Hey everyone I’m trying to use the select device service in hdmi cec. I can manually call it through in services in the developer tools. I can also use the power on and standby just fine. I can’t seem to figure out the syntax for select device though. I tried manually creating a script in the GUI (hass.io) and the below top portion is what is spit out. This didn’t work so I tried to rearrange it like my services is existing scripts ie. nest. This way didn’t work either. To test I’m just using a script with nothing else in it. Does anyone know the syntax for this? The second way is following the documentation but the documentation is for automations not scripts? Thanks for any help!!
- data:
device: media_player.hdmi_4
service: hdmi_cec.select_device
- service: hdmi_cec.select_device
data:
device: media_player.hdmi_4