Make force ON entity optional for Climate Device Controller.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 3s
This commit is contained in:
@@ -138,13 +138,15 @@ blueprint:
|
|||||||
When this entity is ON, the device will be FORCED ON regardless of
|
When this entity is ON, the device will be FORCED ON regardless of
|
||||||
all other conditions (except being higher priority than emergency).
|
all other conditions (except being higher priority than emergency).
|
||||||
Useful for manual override when you want the device always running.
|
Useful for manual override when you want the device always running.
|
||||||
default:
|
Leave empty to disable this feature.
|
||||||
|
default: []
|
||||||
selector:
|
selector:
|
||||||
entity:
|
entity:
|
||||||
domain:
|
domain:
|
||||||
- input_boolean
|
- input_boolean
|
||||||
- switch
|
- switch
|
||||||
- binary_sensor
|
- binary_sensor
|
||||||
|
multiple: true
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Doors & Windows Configuration
|
# Doors & Windows Configuration
|
||||||
@@ -407,8 +409,9 @@ action:
|
|||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
# Force ON Check
|
# Force ON Check
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
|
# Check if any force ON entity is enabled (list may be empty)
|
||||||
is_force_on: >
|
is_force_on: >
|
||||||
{{ force_on_entity is not none and is_state(force_on_entity, 'on') }}
|
{{ force_on_entity | length > 0 and force_on_entity | select('is_state', 'on') | list | length > 0 }}
|
||||||
|
|
||||||
# -----------------------------------------------------------------------
|
# -----------------------------------------------------------------------
|
||||||
# Target Value & Hysteresis
|
# Target Value & Hysteresis
|
||||||
|
|||||||
Reference in New Issue
Block a user