Skip to content

Commit

Permalink
docs: Fix TOC for render-template and time
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed Dec 31, 2020
1 parent cf51e46 commit f4e4ce6
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 9 deletions.
3 changes: 2 additions & 1 deletion docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,9 @@ module.exports = {
'fire-event',
'get-entities',
'get-history',
'get-template',
'poll-state',
'render-template',
'time',
'trigger-state',
'wait-until',
'webhook',
Expand Down
16 changes: 10 additions & 6 deletions docs/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Access all points of the WebSocket and HTTP API.

Sends a request to home assistant for any domain and service available ( `light/turn_on`, `input_select/select_option`, etc..)

## [Config Server](./config-server.md)

Home Assistant connection configuration

## [Current State](./current-state.md)

Fetches the last known state for any entity on input
Expand Down Expand Up @@ -36,18 +40,18 @@ Get entities based on search criteria with 3 different output options

Fetches HomeAssistant history on input

## [Get Template](./get-template.md)

Allows rendering of templates on input

## [Poll State](./poll-state.md)

Outputs the state of an entity at regular intervals, optionally also at startup
and every time the entity changes if desired

## [Server Config](./config-server.md)
## [Render Template](./render-template.md)

Home Assistant connection configuration
Allows rendering of templates on input

## [Time](./time.md)

A node that can be scheduled to trigger at a future date and time from a Home Assistant entity.

## [Trigger: state](./trigger-state.md)

Expand Down
2 changes: 1 addition & 1 deletion docs/node/get-template.md → docs/node/render-template.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Get Template
# Render Template

Can either set the template in the node configuration or pass in the `msg.template` property of the incoming message. Passing template via `msg.template` will override the template string set in node configuration.

Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const nodeMap = {
'get-entities': { doc: 'get-entities', type: 'ha-get-entities' },
'get-history': { doc: 'get-history', type: 'api-get-history' },
'poll-state': { doc: 'poll-state', type: 'poll-state' },
'render-template': { doc: 'get-template', type: 'api-render-template' },
'render-template': { doc: 'render-template', type: 'api-render-template' },
time: { doc: 'time', type: 'ha-time' },
'trigger-state': { doc: 'trigger-state', type: 'trigger-state' },
'wait-until': { doc: 'wait-until', type: 'ha-wait-until' },
Expand Down

0 comments on commit f4e4ce6

Please sign in to comment.