node-red-contrib-home-assistant-websocketnode-red-contrib-home-assistant-websocket
Guides
Nodes
FAQ
Cookbook
Scrubber
Discussions
Discord
Github
Guides
Nodes
FAQ
Cookbook
Scrubber
Discussions
Discord
Github
  • Config Nodes

    • Device Config
    • Entity Config
    • Server Config
  • General Nodes

    • Action
    • API
    • Current State
    • Device
    • Events: all
    • Events: calendar
    • Events: state
    • Fire Event
    • Get Entities
    • Get History
    • Poll State
    • Render Template
    • Sentence
    • Tag
    • Time
    • Trigger: state
    • Wait Until
    • Webhook
    • Zone
  • Entity Nodes

    • Binary Sensor
    • Button
    • Entity
    • Number
    • Select
    • Sensor
    • Switch
    • Text
    • Time
    • Update Config

Fire Event

The Fire Event node allows you to fire an event on the Home Assistant event bus. This can be used to trigger automations or notify other parts of the system about specific occurrences. It’s a way to programmatically generate events that other nodes or systems can listen to and react upon.

Configuration

Event required

  • Type: string

Event name to fire

data

  • Type: Object

JSON object to pass along

Inputs

If the incoming message has a payload property with event set it will override any config values if set. If the incoming message has a payload.data that is an object or parsable into an object these properties will be merged with any config values set. If the node has a property value in its config for Merge Context then the flow and global contexts will be checked for this property which should be an object that will also be merged into the data payload.

payload.event

  • Type: string

Event to fire

payload.data

  • Type: Object

Event data to send

Outputs

payload.event_type

  • Type: string

Event Type that was fired

payload.data

  • Type: Object

The event data sent if one was used

References

Home Assistant Events

Help us improve this page!
Last Updated:
Contributors: Jason
Prev
Events: state
Next
Get Entities