From 1f0cc20523963c95435c362df627d386c7e72c58 Mon Sep 17 00:00:00 2001 From: Giorgio Ravera Date: Tue, 23 May 2023 05:35:03 +0200 Subject: [PATCH] Other YAML fixes --- .yamllint/rules.yaml | 10 +++++----- automations/day.yaml | 2 +- binary_sensor/home_assistant.yaml | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.yamllint/rules.yaml b/.yamllint/rules.yaml index dc0416d2..c22b0ef6 100644 --- a/.yamllint/rules.yaml +++ b/.yamllint/rules.yaml @@ -25,8 +25,8 @@ rules: type: unix #quoted-strings: - # quote-type: any - # required: true - # extra-required: [] - # extra-allowed: [] - # allow-quoted-quotes: false + #quote-type: any + #required: true + #extra-required: [] + #extra-allowed: [] + #allow-quoted-quotes: false diff --git a/automations/day.yaml b/automations/day.yaml index 35e77a28..9cb959cb 100644 --- a/automations/day.yaml +++ b/automations/day.yaml @@ -25,6 +25,6 @@ data: entity_id: - cover.tapparella_cucina -# - cover.tapparella_sala + #- cover.tapparella_sala - cover.tapparella_studio position: 85 diff --git a/binary_sensor/home_assistant.yaml b/binary_sensor/home_assistant.yaml index 6c208528..abb335ef 100644 --- a/binary_sensor/home_assistant.yaml +++ b/binary_sensor/home_assistant.yaml @@ -7,7 +7,7 @@ home_mode: friendly_name: Modalità Casa value_template: >- - {{ is_state('sensor.home_mode', 'giorno') + {{ is_state('sensor.home_mode', 'giorno') or is_state('sensor.home_mode', 'notte') or is_state('sensor.home_mode', 'vacanza') }} icon_template: >- -- 2.47.3