Hi,
I’m using the new remote function that came in HA 2023.5 to control my Mibox 3 (Android TV with built-in chromecast). Since the box can switch on the TV over HDMI-CEC I suppose it must be possible to send that same command using the HA remote to switch on and of the TV (not the box). So I added a button with this code:
how_name: true
show_icon: true
type: button
tap_action:
action: call-service
service: hdmi_cec.power_on
target: {}
hold_action:
action: none
icon: mdi:power
show_state: true
It is not working though. What am I doing wrong?