mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 13:26:54 +00:00
Merge branch 'current' into next
This commit is contained in:
commit
25dde63143
@ -209,8 +209,8 @@ condition:
|
|||||||
condition: state
|
condition: state
|
||||||
entity_id: alarm_control_panel.home
|
entity_id: alarm_control_panel.home
|
||||||
state:
|
state:
|
||||||
- armed_away
|
- "armed_away"
|
||||||
- armed_home
|
- "armed_home"
|
||||||
```
|
```
|
||||||
|
|
||||||
Or, combine multiple entities with multiple states. In the following example,
|
Or, combine multiple entities with multiple states. In the following example,
|
||||||
@ -223,8 +223,8 @@ condition:
|
|||||||
- media_player.living_room
|
- media_player.living_room
|
||||||
- media_player.kitchen
|
- media_player.kitchen
|
||||||
state:
|
state:
|
||||||
- playing
|
- "playing"
|
||||||
- paused
|
- "paused"
|
||||||
```
|
```
|
||||||
|
|
||||||
Alternatively, the condition can test against a state attribute.
|
Alternatively, the condition can test against a state attribute.
|
||||||
@ -235,7 +235,7 @@ condition:
|
|||||||
condition: state
|
condition: state
|
||||||
entity_id: climate.living_room_thermostat
|
entity_id: climate.living_room_thermostat
|
||||||
attribute: hvac_modes
|
attribute: hvac_modes
|
||||||
state: heat
|
state: "heat"
|
||||||
```
|
```
|
||||||
|
|
||||||
Finally, the `state` option accepts helper entities (also known as `input_*`
|
Finally, the `state` option accepts helper entities (also known as `input_*`
|
||||||
|
@ -59,14 +59,9 @@ availability_topic:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
command_topic:
|
command_topic:
|
||||||
description: The MQTT topic to publish commands to change the scene state.
|
description: The MQTT topic to publish `payload_on` to activate the scene.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
enabled_by_default:
|
|
||||||
description: Flag which defines if the entity should be enabled when first added.
|
|
||||||
required: false
|
|
||||||
type: boolean
|
|
||||||
default: true
|
|
||||||
entity_category:
|
entity_category:
|
||||||
description: The [category](https://developers.home-assistant.io/docs/core/entity#generic-properties) of the entity.
|
description: The [category](https://developers.home-assistant.io/docs/core/entity#generic-properties) of the entity.
|
||||||
required: false
|
required: false
|
||||||
@ -96,7 +91,7 @@ payload_not_available:
|
|||||||
type: string
|
type: string
|
||||||
default: offline
|
default: offline
|
||||||
payload_on:
|
payload_on:
|
||||||
description: The payload that represents `on` state. If specified, will be used for both comparing to the value in the `state_topic` (see `value_template` and `state_on` for details) and sending as `on` command to the `command_topic`.
|
description: The payload that will be sent to `command_topic` when activating the MQTT scene.
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: "ON"
|
default: "ON"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user