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

Time

The Time node can be scheduled to trigger at a specific future date and time, based on a Home Assistant entity. This node is useful for creating time-based automations, such as triggering a notification or alarm at a specific hour.

Configuration

Entity Id

  • Type: string

A Home Assistant entity to be used when scheduling the node.

Property

  • Type: string

Which property of the entity object to use to schedule the node.

example properties:

  • entity_id
  • state
  • attributes.date
  • last_updated

example values for the property:

  • 2020-12-31T02:47:54.837Z
  • 1609382842709
  • 13:40
  • 23:59:02

Offset

  • Type: number

A negative or positive number that will be added to the scheduled time.

Randomize time within the offset

  • Type: boolean

When selected the time to trigger will be random selected from the scheduled time to the +/- offset.

Payload

  • Type: string | number | boolean | object

The payload is fully customizable. The default will be a JSONata expression that outputs the entity state.

Repeat Daily

  • Type: boolean

If selected the node will only use the time portion of the date string to schedule the node and will trigger at that time each day. Otherwise, the node will only trigger once at the given day and time.

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

topic

  • Type: string

The entity id in the configuration.

payload

  • Type: string | number | boolean | object

data

  • Type: object

The entity object of the entity in the configuration.

Help us improve this page!
Last Updated:
Contributors: Jason, t1diotac
Prev
Tag
Next
Trigger: state