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

Device

The Device node enables you to create device automations and call device actions within Home Assistant. This node interacts with devices connected to your Home Assistant instance, allowing you to perform tasks such as turning devices on or off, changing settings, or triggering specific device-related actions.

Configuration

Type

  • Type: string
  • Values: trigger | action

Device

  • Type: string

Id of the device

Trigger

  • Type: object

Home Assistant object of the trigger

Action

  • Type: object

Home Assistant object of the action

Capabilities

  • Type: object

Expose as

  • Type: string

When an entity is selected a switch entity will be created in Home Assistant. Turning on and off this switch will disable/enable the nodes in Node-RED.

Outputs

Value types:

  • config: config properties of the node
  • device id: device id that triggered the node
  • event data: event data received from Home Assistant
  • sent data: data sent to Home Assistant
Help us improve this page!
Last Updated:
Contributors: Jason
Prev
Current State
Next
Events: all