Compare commits

...

4 Commits

Author SHA1 Message Date
github-actions[bot]
e7e3a68e60 Update HA version badge to 2025.2.0 2025-02-07 17:03:58 +00:00
CCOSTAN
9752103e55 Let's turn the outside lights the color of the team that just scored too #1502 2025-02-07 17:03:37 +00:00
github-actions[bot]
be0ecbe727 Update HA version badge to 2025.2.0 2025-02-07 16:31:44 +00:00
CCOSTAN
791b504aa6 Closes #1502 2025-02-07 16:31:21 +00:00
4 changed files with 58 additions and 26 deletions

View File

@@ -1 +1 @@
2025.1.4 2025.2.0

View File

@@ -15,23 +15,6 @@
data: data:
flash: long flash: long
- service: input_boolean.turn_off
entity_id: input_boolean.flash
- alias: 'Flash Timer Lights'
id: caac7e80-6f43-4029-ad40-420e70f67cd7
trigger:
- platform: state
entity_id: input_boolean.flash
to: 'on'
from: 'off'
- platform: event
#Sent from IFTTT Webhooks : {"action":"Flash_Timer"}
event_type: ifttt_webhook_received
event_data:
action: Flash_Timer
action:
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.bedroom - light.bedroom
@@ -44,6 +27,20 @@
- light.office_lamp - light.office_lamp
- light.main_slider - light.main_slider
- light.garage_attic - light.garage_attic
- light.bedroom_lights
- light.den_2
- light.den1
- light.dinette_lights
- light.dining_room_lights
- light.foyer
- light.garage_lights
- light.hallway_lights
- light.kitchen_lights
- light.living_room_accents
- light.living_room_lights
- light.office_lights
- light.upstairs_lights
- light.garage_hallway
# - light.den_lamp # - light.den_lamp
data: data:
flash: long flash: long

35
config/packages/superbowl.yaml Executable file
View File

@@ -0,0 +1,35 @@
#-------------------------------------------
# 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
- service: light.turn_on
target:
entity_id: light.outdoor_front_lights
data:
rgb_color: >
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
[0, 255, 0]
{% else %}
[255, 0, 0]
{% endif %}

View File

@@ -1,16 +1,16 @@
<svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.1.4"> <svg width="61.5" height="20" viewBox="0 0 615 200" xmlns="http://www.w3.org/2000/svg" role="img" aria-label="2025.2.0">
<title>2025.1.4</title> <title>2025.2.0</title>
<linearGradient id="rXKUv" x2="0" y2="100%"> <linearGradient id="CRZdG" x2="0" y2="100%">
<stop offset="0" stop-opacity=".1" stop-color="#EEE"/> <stop offset="0" stop-opacity=".1" stop-color="#EEE"/>
<stop offset="1" stop-opacity=".1"/> <stop offset="1" stop-opacity=".1"/>
</linearGradient> </linearGradient>
<mask id="DcNWe"><rect width="615" height="200" rx="30" fill="#FFF"/></mask> <mask id="ksdKt"><rect width="615" height="200" rx="30" fill="#FFF"/></mask>
<g mask="url(#DcNWe)"> <g mask="url(#ksdKt)">
<rect width="615" height="200" fill="#08C" x="0"/> <rect width="615" height="200" fill="#08C" x="0"/>
<rect width="615" height="200" fill="url(#rXKUv)"/> <rect width="615" height="200" fill="url(#CRZdG)"/>
</g> </g>
<g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110"> <g aria-hidden="true" fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="110">
<text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.1.4</text> <text x="65" y="148" textLength="500" fill="#000" opacity="0.25">2025.2.0</text>
<text x="55" y="138" textLength="500">2025.1.4</text> <text x="55" y="138" textLength="500">2025.2.0</text>
</g> </g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 811 B

After

Width:  |  Height:  |  Size: 811 B