I am trying to migrate an automation over to Node-red and the part where i need to capture a click event (single) from a Xiaomi wireless switch has me stumped. Xiaomi switches don’t seem to change a state to on/off but the click event can be used in HASS, how do i capture this in Node-red.
Hi there, first post here. This is what i figure out using the home assistant flow, I’ve used two switches nodes, the first one selects the entity_id, the next one switches in between click_type.
Now with round xiaomi button turns one light on single click and a different one on double.