From db51fa8833bf0d0e0addfe4b9769ee57e4abaea7 Mon Sep 17 00:00:00 2001 From: Andrei Nicholson Date: Sun, 13 Oct 2024 20:43:02 -0400 Subject: [PATCH] Quotes aren't necessary here --- automation/fans.yaml | 6 +++--- components/packages/binary_sensor.yaml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/automation/fans.yaml b/automation/fans.yaml index 8a20dcc..510097a 100644 --- a/automation/fans.yaml +++ b/automation/fans.yaml @@ -48,14 +48,14 @@ triggers: - trigger: state entity_id: binary_sensor.4_in_1_sensor_home_security_motion_detection - from: 'on' - to: 'off' + from: "on" + to: "off" for: minutes: 5 conditions: - condition: state entity_id: switch.dimmer_dry_contact_relay - state: 'on' + state: "on" actions: - action: switch.turn_off entity_id: switch.dimmer_dry_contact_relay diff --git a/components/packages/binary_sensor.yaml b/components/packages/binary_sensor.yaml index 27e6429..2fafa4e 100644 --- a/components/packages/binary_sensor.yaml +++ b/components/packages/binary_sensor.yaml @@ -5,19 +5,19 @@ binary_sensor: - platform: template sensors: halloween_month: - friendly_name: "Month of Halloween" + friendly_name: Month of Halloween value_template: "{{ now().month == 10 }}" thanksgiving_month: - friendly_name: "Month of Thanksgiving" + friendly_name: Month of Thanksgiving value_template: "{{ now().month == 11 }}" christmas_month: - friendly_name: "Month of Christmas" + friendly_name: Month of Christmas value_template: "{{ now().month == 12 }}" today_is_someones_birthday: - friendly_name: "Today is Someone's Birthday" + friendly_name: Today is Someone's Birthday value_template: !secret birthday_evaluator # Service will return a single object with key "busy" and a boolean value. @@ -25,6 +25,6 @@ binary_sensor: # Example payload: {"busy":false} - platform: rest resource: !secret teams_rest_url - name: "Teams on call" + name: Teams on call value_template: "{{ value_json.busy }}"