Hi everyone! I’m trying to make a scene trigger something in Node-RED and it seems things have changed a bit.
I see that the Events: All node has an Event Data field. I understand it needs JSON formatting, but I’m not having success on writing that code.
I need to create a node that filters a call_service event when the scene.bright is triggered:
event_type: call_service
data:
domain: scene
service: turn_on
service_data:
entity_id: scene.bright
origin: LOCAL
time_fired: "2023-07-03T23:12:54.619551+00:00"
context:
id: 01H4F0FJTV9N6AAWGBYT02XFHC
parent_id: null
user_id: fd71879a2f4749bf90a7a0fa005634cf
Could anyone please point me on how to use this new field?
I’m trying to get rid of an old solution that involved creating an automation that triggers a button.
I know I can also use a switch node after the events: all node, but I’d like to integrate all into a single node if possible.
Thanks!
Rodrigo