Skip to content

Commit

Permalink
docs(action): Add block input overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
zachowj committed Sep 9, 2024
1 parent 0ccfd29 commit 4050275
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 3 deletions.
7 changes: 7 additions & 0 deletions docs/node/action.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ Will change the tags used for the mustache template to `<%` and `%>`

Will store the first, last, or all messages received while disconnected from Home Assistant and send them once connected again

### Block Input Overrides

- Type: `boolean`
- Default: `true`

Stop `msg.payload` values from overriding local config

## Input

All properties need to be under `msg.payload`.
Expand Down
2 changes: 1 addition & 1 deletion docs/node/current-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Convert the state of the entity to the selected type. Boolean will be converted
- Type: `boolean`
- Default: `false`

Stop msg.payload values from overriding local config
Stop `msg.payload` values from overriding local config

## Inputs

Expand Down
5 changes: 4 additions & 1 deletion src/nodes/action/editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,10 @@ <h4>
<span data-i18n="ha-action.label.action"></span>:
<span class="title"></span>
</h4>
<div class="unknown-service">Unknown domain or service</div>
<div
class="unknown-service"
data-i18n="ha-action.label.unknown_action"
></div>
<div class="known-service">
<p class="service-description"></p>
<table id="service-data-table" class="red-ui-info-table">
Expand Down
3 changes: 2 additions & 1 deletion src/nodes/action/locale.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
},
"server": "Server",
"show_debug": "Show debug information",
"targets": "Targets"
"targets": "Targets",
"unknown_action": "Unknown action"
},
"status": {
"action_called": "__domain__.__service__ called"
Expand Down

0 comments on commit 4050275

Please sign in to comment.