Home Assistant Community

Event Bus in Node-RED

#1

In the HA user interface, the third button lets one fire events. How can I listen to these events in Node-RED? More specifically, I am trying to listen to telegram_callback like in the following automation:

- alias: "Telegram Callback"
  trigger:
    - platform: event
      event_type: telegram_callback
      event_data:
        command: '/snooze'
  action:
    ... (some action)

Thanks for your help!

#2

An Events: all node with Event Type: “telegram_callback”

1 Like
#3

Worked like a charm, thank you @Kermit