I’m really new to Home Assistant and Node Red. Currently at it’s most basic I’m a using an Aqara switch to control a light and I’m using a conbee II as a hub for everything.
This is fine with HA but I want to do more and as I’ve very little programming experience I thought I would start off by learning how to use Node Red. Unfortunately thought the switch only shows 1 entity and that’s the battery state. How do I get the information needed so that Node Red looks for the button press?
Below is the basic HA YAML which might help explain.
alias: Toggle Bedroom light
description: ''
trigger:
- device_id: 1d4600a056d9fb2aa09e2c8feacff602
domain: deconz
platform: device
type: remote_button_short_press
subtype: turn_on
condition: []
action:
- type: toggle
device_id: b59d306751e2b7c1c08bcd8620f57799
entity_id: light.extended_color_light_6
domain: light
mode: restart