Hey Guys, who do I customize this so that anytime a light is turn on, off or dimmed, or un-dimmed, this called and gets the status of the swtich. No matter what other fixes I try for the WD-100 switches I can never get the right status to show up in the UI.
type or paste blueprint:
name: WD-100 Status Updater
description: Updates the status of WD-100 Switches
domain: automation
input:
alarmtype_sensor:
name: alarmType Sensor for lock
description: alarmType sensor must be enabled on lock device.
selector:
entity:
domain: light
integration: zwave_js
lock_entity:
name: Lock Entity
description: WD-100 Light.
selector:
entity:
domain: light
integration: zwave_js
source_url: https://community.home-assistant.io/t/zwave-js-kwikset-910-manual-status-updater/283691
trigger:
- platform: state
entity_id: !input 'alarmtype_sensor'
action:
- service: zwave_js.refresh_value
target:
entity_id: !input 'lock_entity'
code here