Skip to content

Commit

Permalink
docs: update links in action and get-entities documentation for consi…
Browse files Browse the repository at this point in the history
…stency

Fixes #1704
  • Loading branch information
zachowj committed Dec 31, 2024
1 parent 0e621aa commit 424189e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/cookbook/vacation-mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ hours.
**Also See**
- [Actionable notifactions subflow for android](./actionable-notifications-subflow-for-android.html)
- [Actionable notifactions subflow for android](./actionable-notifications-subflow-for-android.md)
## Step 3
Expand Down
16 changes: 8 additions & 8 deletions docs/node/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
This node allows you to send a request to Home Assistant to perform specific actions. These actions could include tasks such as turning on a light (`light.turn_on`), selecting an option from a dropdown menu (`input_select.select_option`), or any other service call supported by Home Assistant. It serves as a bridge between Node-RED and Home Assistant, enabling automation flows to directly control devices or entities in your smart home setup.

::: tip Helpful Examples
[Action Tips and Tricks](../guide/action.html)
[Action Tips and Tricks](/guide/action.md)
:::

## Configuration

### Action <Badge text="required"/>

- Type: `string`
- Accepts [Mustache Templates](../guide/mustache-templates.md)
- Accepts [Mustache Templates](/guide/mustache-templates.md)

Action to perform

### Floor

- Type: `an array of floor ids`
- Accepts [Mustache Templates](../guide/mustache-templates.md) for ids
- Accepts [Mustache Templates](/guide/mustache-templates.md) for ids

A list of floor ids that will be used as targets for the action

### Area

- Type: `an array of area ids`
- Accepts [Mustache Templates](../guide/mustache-templates.md) for ids
- Accepts [Mustache Templates](/guide/mustache-templates.md) for ids

A list of area ids that will be used as targets for the action

Expand All @@ -34,7 +34,7 @@ Custom ids can be inserted into the list by adding a `#` at the end of the id
### Device

- Type: `an array of device ids`
- Accepts [Mustache Templates](../guide/mustache-templates.md) for ids
- Accepts [Mustache Templates](/guide/mustache-templates.md) for ids

A list of device ids that will be used as targets for the action

Expand All @@ -43,21 +43,21 @@ Custom ids can be inserted into the list by adding a `#` at the end of the id
### Entity

- Type: `an array of entity ids`
- Accepts [Mustache Templates](../guide/mustache-templates.md) for ids
- Accepts [Mustache Templates](/guide/mustache-templates.md) for ids

A list of entity ids that will be used as targets for the action

### Label

- Type: `an array of label ids`
- Accepts [Mustache Templates](../guide/mustache-templates.md) for ids
- Accepts [Mustache Templates](/guide/mustache-templates.md) for ids

A list of label ids that will be used as targets for the action

### Data

- Type: `JSONata | JSON`
- Accepts [Mustache Templates](../guide/mustache-templates.md) when data type is JSON
- Accepts [Mustache Templates](/guide/mustache-templates.md) when data type is JSON

JSON object to pass along.

Expand Down
1 change: 1 addition & 0 deletions docs/node/get-entities.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ Information about who or what last changed the state of this entity.
</InfoPanelOnly>

<DocsOnly>

### Example 1

Get a notification when you leave if any doors or windows are left open. Use the `get entities` node to get a list of entity IDs (e.g., `binary_sensor.front_door`, `binary_sensor.back_door`, `binary_sensor.front_window`, `binary_sensor.back_window`) where the state is `open`. The entities are returned with the output `Split`, sending a message for each valid entity. A template node can then format the payload into the entity's friendly name, and the messages can be joined back into one payload using the `join` node.
Expand Down

0 comments on commit 424189e

Please sign in to comment.