This is a single blueprint to both trigger scenes and set the LED color on the Zooz ZEN32 Z-Wave scene controller. Direct link on Github
Thanks to creators of Zen32 Scene Control and Led state this was based off. Also special thanks to @Blackymas for creating the insane NSPanel blueprint that I referenced a few times.
Edit: Added default track for first scene entity and support for many other device types.
Any chance you can update the blueprint to support covers?
I am trying to use one of the buttons to control my motorized shades, and would love to simplify down to one automation instead of two to control and also update the button lights.
Cover entities have a state of open or close - which can be similar to the fan/light/switch on and off
On blueprints tab, click import and paste the URL in there. Then click yes to overwrite it. I tested with a lock and it worked ok, you can test with anything else and let me know.
I’ll have to take a look at this. Right now I’m using another BP for the control which works very well, but for the lights I’ve had to use some helpers and automations to make them foolproof indicators of external things. I.e. alert statuses, etc.
I downloaded that, it looks great! I can see a lot of use cases where it would be much easier to set up than my approach
I don’t think it will do exactly what I’ve got going currently on one of my switches. In this case I’ve got one LED indicating multiple stages of function. i.e. timer running (steady yellow light), and timer finished (blinking red light). This is the automation I’m using to control that LED.
alias: HT - Timer Light - Back Sconce SC
description: ""
trigger:
- platform: state
entity_id:
- timer.hot_tub_timer
- platform: state
entity_id:
- alert.hot_tub_timer_complete
condition: []
action:
- choose:
- conditions:
- condition: and
conditions:
- condition: state
state: active
entity_id: timer.hot_tub_timer
sequence:
- service: select.select_option
metadata: {}
data:
option: Yellow
target:
entity_id:
- select.back_sconce_led_indicator_color_button_4
- service: switch.turn_on
target:
entity_id:
- switch.back_sconce_button_4_indication_binary
data: {}
- conditions:
- condition: and
conditions:
- condition: state
state: "on"
entity_id: alert.hot_tub_timer_complete
sequence:
- service: select.select_option
metadata: {}
data:
option: Red
target:
entity_id:
- select.back_sconce_led_indicator_color_button_4
- service: script.ht_tablet_popup
metadata: {}
data:
right_button: Clear Notification
content: <h1><center><b>Please Close the Hottub Cover</b></center></h1>
dismissible: false
service: script.turn_on
entity_id: script.ht_clear_pop_up_from_tablet
tts_message: >-
Yo! Yo! X is a turkey Go close that hot tub cover fool! Dont
let the heat out.
- repeat:
sequence:
- service: switch.turn_on
target:
entity_id:
- switch.back_sconce_button_4_indication_binary
data: {}
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
- service: switch.turn_off
target:
entity_id:
- switch.back_sconce_button_4_indication_binary
data: {}
- delay:
hours: 0
minutes: 0
seconds: 1
milliseconds: 0
while:
- condition: state
enabled: true
entity_id: alert.hot_tub_timer_complete
for:
hours: 0
minutes: 0
seconds: 0
state: "on"
- conditions:
- condition: state
state: idle
entity_id: timer.hot_tub_timer
sequence:
- service: switch.turn_off
metadata: {}
data: {}
target:
entity_id:
- switch.back_sconce_button_4_indication_binary
mode: restart
This is one of the automation from my other ZEN32. It indicates whether or not the bed heater is running on a timer (yellow), or manually (red).
That’s correct, and I imagine so. I’ve only just begun to barely be able to read a blueprint, and I’m always impressed by someone like yourself who can write one.