Hi
I’m working on lovelace buttons as part of following switchs;
and
Is there is a way to change the buttons that appear in right of volume to something other than lighting icons ?
Hi
I’m working on lovelace buttons as part of following switchs;
Thanks for the tip, but how do I assign buttons.
switches:
tv_panasonic_power:
friendly_name: "Power"
command_on: 'JgCYAXQ4EA0PKhANDw0PDg8N'
command_off: 'JgCYAXQ4EA0PKhANDw0PDg8N'
If I got above buttons, how do I use cover to assign icon to command_on and command_off
can you please help me out a bit
Use scripts instead.
cover:
- platform: template
covers:
hk_volume:
friendly_name: "HK Volume"
open_cover:
service: script.hk_vol_up
close_cover:
service: script.hk_vol_down
stop_cover:
service: script.hk_vol_mute
position_template: 50
script:
hk_vol_up:
sequence:
- service: switch.broadlink_send_packet_192_168_xxx_xxx
data:
{ "packet" : [ "JgBIAAABJZURExEUER...." ]}
hk_vol_down:
sequence:
- service: switch.broadlink_send_packet_192_168_xxx_xxx
data:
{ "packet" : [ "JgBQAAABJZUSEhEUER...." ]}
hk_vol_mute:
sequence:
- service: switch.broadlink_send_packet_192_168_xxx_xxx
data:
{ "packet" : [ "JgB4AAABJZUSEhEUER...." ]}
You’ll find the the switch.broadlink_send_packet...
under Dev Tools/Services.