mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-04-29 03:02:43 +00:00
Closes #1502
This commit is contained in:
parent
7ffa991419
commit
791b504aa6
@ -1 +1 @@
|
|||||||
2025.1.4
|
2025.2.0
|
24
config/packages/superbowl.yaml
Executable file
24
config/packages/superbowl.yaml
Executable file
@ -0,0 +1,24 @@
|
|||||||
|
#-------------------------------------------
|
||||||
|
# Setting up some fun flash lights if anyone scores in the superbowl. Will need to update the sensors each year though.
|
||||||
|
|
||||||
|
# @CCOSTAN
|
||||||
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
||||||
|
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/1502#
|
||||||
|
#-------------------------------------------
|
||||||
|
|
||||||
|
automation:
|
||||||
|
- alias: 'Super Bowl Team Score Change'
|
||||||
|
id: 5b3a4c89-1234-4567-8901-23456789abcd
|
||||||
|
mode: single
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.team_tracker_kc
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.team_tracker_phi
|
||||||
|
condition:
|
||||||
|
- condition: template
|
||||||
|
value_template: "{{ now().month == 2 }}"
|
||||||
|
action:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.flash
|
Loading…
x
Reference in New Issue
Block a user