I’ve been racking my brain on why a series of automations I have are not working to properly update the LED notification bar on my Inovelli LZW31-SN.
MY desired end state is for the notification bar to “breath” when our alarm is armed. When the bottom button is held on any inovelli switch, I disarm the alarm, ideally I would then show an orange solid notification bar, and then when the state of the arm goes to disarmed, I would show a green solid bar for 6 seconds and then go away.
I currently am using Brian Hanifin’s LED script located here :
My automation to set the red breathing is below and works:
--- alias: "YAML: Notify of Alarm Armed" id: 'ef146c08-7c35-4fb4-9652-a1f056e9ff9e' trigger: - platform: state entity_id: alarm_control_panel.panel from: disarmed action: - service: script.inovelli_led data: entity_id: - light.backporch_wall_light - light.frontporch_ceiling_light color: Red effect: Breath duration: Indefinitely
My Automation to capture the key hold on zwave and turn off the alarm, and that works is :
--- alias: "YAML: Inovelli Hold Down Disarm" id: 'c520242e-26e8-4cb8-baff-572d3bb33832' trigger: - platform: event event_type: zwave_js_value_notification event_data: property_key: "001" value: "KeyHeldDown" action: - service: alarm_control_panel.alarm_disarm target: entity_id: alarm_control_panel.panel
My automation to show the green bar when the state changes on the alarm and works Except that LED bar on the switch that the button is held down on retains the green notification forever:
--- alias: "YAML: Notify of Alarm Disarmed" id: 'ef146c08-7c35-4fb4-9652-a1f056e9ff8e' trigger: - platform: state entity_id: alarm_control_panel.panel to: disarmed action: - service: script.inovelli_led data: entity_id: - light.backporch_wall_light - light.frontporch_ceiling_light color: Green effect: Solid duration: 6 Seconds
This isn’t rocket science here, but I’m struggling. If I disarm the alarm via the UI, the correct behavior occurs and after 6 seconds the green bar goes away. Anyone have any ideas?