Right now there’s no available events listed in HA that allow me to detect when the WT00Z-1 has been toggled. However, when you look at the output log (see below), there’s clearly some communication from the WT00Z-1 (node 004).
2020-04-22 18:26:38.845 Detail, Node004, Received: 0x01, 0x09, 0x00, 0x04, 0x00, 0x04, 0x03, 0x20, 0x01, 0x00, 0xd4
2020-04-22 18:26:38.846 Detail,
2020-04-22 18:26:38.846 Info, Node004, Received Basic set from node 4: level=0. Sending event notification.
2020-04-22 18:26:38.846 Detail, Node004, Notification: NodeEvent
Any advice on how I can trigger automations when the WT00Z-1 switch is pressed? The WT00Z-1 has two entities associated with it (light and switch). If I set up an automation (see below the log) to be triggered by the light and/or switch turning on/off, nothing shows up in the logbook.
- id: '1587650634356'
alias: New Automation
description: ''
trigger:
- device_id: 168512246b354055afe5461b1323bf6f
domain: light
entity_id: light.master_bedroom_accessory
platform: device
type: turned_off
- device_id: 168512246b354055afe5461b1323bf6f
domain: light
entity_id: light.master_bedroom_accessory
platform: device
type: turned_on
- device_id: 168512246b354055afe5461b1323bf6f
domain: switch
entity_id: switch.master_bedroom_accessory_switch
platform: device
type: turned_off
- device_id: 168512246b354055afe5461b1323bf6f
domain: switch
entity_id: switch.master_bedroom_accessory_switch
platform: device
type: turned_on
condition: []
action:
- data:
message: Switch
name: Toggling of switch detected
service: logbook.log