More #1502 enhancements

This commit is contained in:
CCOSTAN 2025-02-10 16:44:44 +00:00
parent e7e3a68e60
commit f0255cb46e
3 changed files with 77 additions and 3 deletions

View File

@ -1 +1 @@
2025.2.0 2025.2.1

View File

@ -42,6 +42,6 @@ automation:
- service: script.notify_engine - service: script.notify_engine
data: data:
title: "🔥 Proxmox Garage Alert!" title: "🔥 Proxmox Garage Alert!"
value1: "The average temperature of your Proxmox servers is above 90°F!" value1: "The average temperature of your Proxmox servers is above 145°F!"
who: 'carlo' who: 'carlo'
group: 'information' group: 'information'

View File

@ -12,8 +12,10 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: sensor.team_tracker_kc entity_id: sensor.team_tracker_kc
attribute: team_score
- platform: state - platform: state
entity_id: sensor.team_tracker_phi entity_id: sensor.team_tracker_phi
attribute: team_score
condition: condition:
- condition: template - condition: template
value_template: "{{ now().month == 2 }}" value_template: "{{ now().month == 2 }}"
@ -23,7 +25,14 @@ automation:
entity_id: input_boolean.flash entity_id: input_boolean.flash
- service: light.turn_on - service: light.turn_on
target: target:
entity_id: light.outdoor_front_lights 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: data:
rgb_color: > rgb_color: >
{% if trigger.entity_id == 'sensor.team_tracker_phi' %} {% if trigger.entity_id == 'sensor.team_tracker_phi' %}
@ -31,5 +40,70 @@ automation:
{% else %} {% else %}
[255, 0, 0] [255, 0, 0]
{% endif %} {% endif %}
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]
- 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'