Zooz ZEN32 Control and Track all in one

This is a single blueprint to both trigger scenes and set the LED color on the Zooz ZEN32 Z-Wave scene controller.
Open your Home Assistant instance and show the blueprint import dialog with a specific blueprint pre-filled.
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.

1 Like

Your on_state# descriptions look to be incorrect

I’m planning on giving this a test later on today!

on_state0:
  name: On behavior for button 1
  description: Led state when target is off

Thanks, fixed the descriptions.

Do I need to update the original post… I set the blueprint to reference Github? Can I remove it and just put a link to Github?

1 Like

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

Thanks!

Sure, give me a day or so.

@br0nd Can you test this URL: Zen32-HA-Blueprint/ZEN32-control-track.yaml at 857f81b4fa59fa0b4fbc001fc2c987d1995d51ea · rwalker777/Zen32-HA-Blueprint · GitHub

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.

Very cool,

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.

Try the version I posted for br0nd, it adds support for lots of entity types for LED state tracking. If something is missing let me know.

1 Like

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).

description: ""
trigger:
  - platform: state
    entity_id:
      - switch.smart_switch_1912193841860525188048e1e914241b_outlet
condition: []
action:
  - choose:
      - conditions:
          - condition: and
            conditions:
              - condition: state
                state: "on"
                entity_id: switch.smart_switch_1912193841860525188048e1e914241b_outlet
              - condition: state
                state: "off"
                entity_id: input_boolean.redacted_s_bed_heater_timer
        sequence:
          - service: select.select_option
            metadata: {}
            data:
              option: Red
            target:
              entity_id: >-
                select.master_bedroom_scene_controller_led_indicator_color_button_4
          - service: switch.turn_on
            target:
              entity_id: >-
                switch.master_bedroom_scene_controller_button_4_indication_binary
            data: {}
      - conditions:
          - condition: and
            conditions:
              - condition: state
                state: "on"
                entity_id: switch.smart_switch_1912193841860525188048e1e914241b_outlet
              - condition: state
                state: "on"
                entity_id: input_boolean.redacted_s_bed_heater_timer
        sequence:
          - service: select.select_option
            metadata: {}
            data:
              option: Yellow
            target:
              entity_id: >-
                select.master_bedroom_scene_controller_led_indicator_color_button_4
          - service: switch.turn_on
            metadata: {}
            data: {}
            target:
              entity_id: >-
                switch.master_bedroom_scene_controller_button_4_indication_binary
      - conditions:
          - condition: state
            state: "off"
            entity_id: switch.smart_switch_1912193841860525188048e1e914241b_outlet
        sequence:
          - service: switch.turn_off
            metadata: {}
            data: {}
            target:
              entity_id: >-
                switch.master_bedroom_scene_controller_button_4_indication_binary
mode: restart

You are tracking state for different entities for the same button LED… this would be difficult to add to the blueprint.

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.