update
This commit is contained in:
parent
810f87a195
commit
ff1a4b8073
1 changed files with 5 additions and 3 deletions
|
|
@ -16,11 +16,13 @@ blueprint:
|
|||
entity:
|
||||
domain: schedule
|
||||
presence_entity:
|
||||
name: Anwesenheit
|
||||
description: Optional, z.B. binary_sensor.presence
|
||||
name: Anwesenheit (optional)
|
||||
description: Optional - leer lassen für immer present. z.B. binary_sensor.presence
|
||||
selector:
|
||||
entity:
|
||||
domain: binary_sensor
|
||||
multiple: false
|
||||
default: {}
|
||||
vacation_helper:
|
||||
name: Urlaubsmodus Helper
|
||||
description: input_boolean.urlaub
|
||||
|
|
@ -95,7 +97,7 @@ action:
|
|||
is_winter: "{{ weather_temp < !input winter_temp_threshold }}"
|
||||
is_vacation: "{{ is_state(!input vacation_helper, 'on') }}"
|
||||
is_present: >-
|
||||
{%- if !input presence_entity -%}
|
||||
{%- if !input presence_entity or !input presence_entity == '' -%}
|
||||
true
|
||||
{%- else -%}
|
||||
{{ is_state(!input presence_entity, 'on') }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue