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

Render Template

The Render Template node allows you to render templates based on input data. Templates in Home Assistant are powerful tools for dynamically generating text or values based on the state of entities or other variables. This node sends the template to Home Assistant for rendering and outputs the result.

NOTE:

The node will output any Home Assistant API errors for catching with the 'catch-all' node

Configuration

template

  • Type: string

Jinja template to be rendered, discarded if msg.template is provided via input msg

Template Location

Customizable location to output original template

Results

Customizable location to output rendered template

Inputs

template

  • Type: string

Jinja template to be rendered

Outputs

template

  • Type: string

The original template sent to Home Assistant for rendering

payload

  • Type: string

The rendered template

References

  • Home Assistant Template Docs
  • Jinja Docs
Help us improve this page!
Last Updated:
Contributors: Jason
Prev
Poll State
Next
Sentence