2025-02-07 16:31:21 +00:00
|
|
|
#-------------------------------------------
|
|
|
|
|
# @CCOSTAN
|
|
|
|
|
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
|
Standardizing on Headers for all YAML files.
- Updated comments in various YAML configuration files to provide clearer descriptions of functionalities and integrations.
- Improved documentation for alarm, alexa_media_player, backups, blink, cbyge, climate, finance, fridge, garadget, glances, hass_agent_homepc, holiday, ios, landscape_lighting, lightning, logger, medicine, nfc_tags, noonhome, office_motion, phynplus, powerwall, printer, processmonitor, proxmox, rachio, rheem_econet, roku, sleepiq, space, speedtest, stats, superbowl, vacuum, wireless, and youtube packages.
- Added relevant links and issue references where applicable to enhance user guidance and support.
2025-11-29 13:17:00 -05:00
|
|
|
# Super Bowl Lights - Flash routines on scoring events.
|
2025-02-07 16:31:21 +00:00
|
|
|
#-------------------------------------------
|
Standardizing on Headers for all YAML files.
- Updated comments in various YAML configuration files to provide clearer descriptions of functionalities and integrations.
- Improved documentation for alarm, alexa_media_player, backups, blink, cbyge, climate, finance, fridge, garadget, glances, hass_agent_homepc, holiday, ios, landscape_lighting, lightning, logger, medicine, nfc_tags, noonhome, office_motion, phynplus, powerwall, printer, processmonitor, proxmox, rachio, rheem_econet, roku, sleepiq, space, speedtest, stats, superbowl, vacuum, wireless, and youtube packages.
- Added relevant links and issue references where applicable to enhance user guidance and support.
2025-11-29 13:17:00 -05:00
|
|
|
######################################################################
|
|
|
|
|
## Game-day automations; update sensors yearly. Issue #1502.
|
|
|
|
|
######################################################################
|
2025-02-07 16:31:21 +00:00
|
|
|
automation:
|
|
|
|
|
- alias: 'Super Bowl Team Score Change'
|
|
|
|
|
id: 5b3a4c89-1234-4567-8901-23456789abcd
|
|
|
|
|
mode: single
|
|
|
|
|
trigger:
|
|
|
|
|
- platform: state
|
|
|
|
|
entity_id: sensor.team_tracker_kc
|
2025-02-10 16:44:44 +00:00
|
|
|
attribute: team_score
|
2025-02-07 16:31:21 +00:00
|
|
|
- platform: state
|
|
|
|
|
entity_id: sensor.team_tracker_phi
|
2025-02-10 16:44:44 +00:00
|
|
|
attribute: team_score
|
2025-02-07 16:31:21 +00:00
|
|
|
condition:
|
|
|
|
|
- condition: template
|
|
|
|
|
value_template: "{{ now().month == 2 }}"
|
|
|
|
|
action:
|
|
|
|
|
- service: input_boolean.turn_on
|
|
|
|
|
target:
|
|
|
|
|
entity_id: input_boolean.flash
|
2025-02-07 17:03:37 +00:00
|
|
|
- service: light.turn_on
|
|
|
|
|
target:
|
2025-02-10 16:44:44 +00:00
|
|
|
entity_id:
|
|
|
|
|
- light.outdoor_front_lights
|
|
|
|
|
- light.living_room_accents
|
|
|
|
|
- light.m1_back_left
|
|
|
|
|
- light.m1_back_right
|
|
|
|
|
- light.m1_front_left
|
|
|
|
|
- light.m1_front_right
|
|
|
|
|
- light.main_slider
|
2025-02-07 17:03:37 +00:00
|
|
|
data:
|
|
|
|
|
rgb_color: >
|
|
|
|
|
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
|
|
|
|
|
[0, 255, 0]
|
|
|
|
|
{% else %}
|
|
|
|
|
[255, 0, 0]
|
|
|
|
|
{% endif %}
|
2025-02-10 16:44:44 +00:00
|
|
|
brightness: 255
|
|
|
|
|
- delay:
|
|
|
|
|
minutes: 5
|
|
|
|
|
- service: light.turn_on
|
|
|
|
|
target:
|
|
|
|
|
entity_id:
|
|
|
|
|
- light.m1_back_left
|
|
|
|
|
- light.m1_back_right
|
|
|
|
|
data:
|
|
|
|
|
brightness: 255
|
|
|
|
|
rgb_color: [255, 255, 255]
|
2025-02-07 17:03:37 +00:00
|
|
|
|
2025-02-10 16:44:44 +00:00
|
|
|
- alias: 'Super Bowl Winner Celebration'
|
|
|
|
|
id: 5b3a4c89-1234-4567-8901-23456789abce
|
|
|
|
|
mode: single
|
|
|
|
|
trigger:
|
|
|
|
|
- platform: state
|
|
|
|
|
entity_id:
|
|
|
|
|
- sensor.team_tracker_kc
|
|
|
|
|
- sensor.team_tracker_phi
|
|
|
|
|
attribute: team_winner
|
|
|
|
|
to: 'true'
|
|
|
|
|
condition:
|
|
|
|
|
- condition: template
|
|
|
|
|
value_template: "{{ now().month == 2 }}"
|
|
|
|
|
action:
|
|
|
|
|
- service: light.turn_on
|
|
|
|
|
target:
|
|
|
|
|
entity_id:
|
|
|
|
|
- light.outdoor_front_lights
|
|
|
|
|
- light.living_room_accents
|
|
|
|
|
- light.m1_back_left
|
|
|
|
|
- light.m1_back_right
|
|
|
|
|
- light.m1_front_left
|
|
|
|
|
- light.m1_front_right
|
|
|
|
|
- light.main_slider
|
|
|
|
|
data:
|
|
|
|
|
rgb_color: >
|
|
|
|
|
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
|
|
|
|
|
[0, 255, 0]
|
|
|
|
|
{% else %}
|
|
|
|
|
[255, 0, 0]
|
|
|
|
|
{% endif %}
|
|
|
|
|
brightness: 255
|
|
|
|
|
effect: 'colorloop'
|
|
|
|
|
- delay:
|
|
|
|
|
minutes: 3
|
|
|
|
|
- service: light.turn_on
|
|
|
|
|
target:
|
|
|
|
|
entity_id:
|
|
|
|
|
- light.outdoor_front_lights
|
|
|
|
|
- light.living_room_accents
|
|
|
|
|
- light.m1_back_left
|
|
|
|
|
- light.m1_back_right
|
|
|
|
|
- light.m1_front_left
|
|
|
|
|
- light.m1_front_right
|
|
|
|
|
- light.main_slider
|
|
|
|
|
data:
|
|
|
|
|
rgb_color: >
|
|
|
|
|
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
|
|
|
|
|
[0, 255, 0]
|
|
|
|
|
{% else %}
|
|
|
|
|
[255, 0, 0]
|
|
|
|
|
{% endif %}
|
|
|
|
|
brightness: 255
|
|
|
|
|
effect: 'none'
|