diff --git a/bluepring.yaml b/blueprint.yaml similarity index 94% rename from bluepring.yaml rename to blueprint.yaml index 13e6497..826a2c1 100644 --- a/bluepring.yaml +++ b/blueprint.yaml @@ -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') }}