Skip to content

Commit

Permalink
Quotes aren't necessary here
Browse files Browse the repository at this point in the history
  • Loading branch information
tetsuo13 committed Oct 14, 2024
1 parent 0a771b4 commit db51fa8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions automation/fans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions components/packages/binary_sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,26 @@ 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.
# Sensor value to match the boolean value.
# Example payload: {"busy":false}
- platform: rest
resource: !secret teams_rest_url
name: "Teams on call"
name: Teams on call
value_template: "{{ value_json.busy }}"

0 comments on commit db51fa8

Please sign in to comment.