Skip to content

Commit

Permalink
Update to 2024.12.0
Browse files Browse the repository at this point in the history
- sensor.precipitation_type bugfix
- sensor.precipitation_accumulation_today bugfix
- weather template, graph, ui updates
- update media preset templates
- separate iframe cards
- balboa to core
- new mobile notification channels (urgent, camera)
- other ui updates
- misc bug fixes
  • Loading branch information
jazzyisj committed Dec 3, 2024
1 parent a3577dd commit 700fd4c
Show file tree
Hide file tree
Showing 172 changed files with 3,500 additions and 2,128 deletions.
2 changes: 1 addition & 1 deletion .HA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024.11.3
2024.12.0b4
2 changes: 1 addition & 1 deletion automations/alarm/alarm_bypassed_sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
data:
tag: bypassed_sensor
group: Alarm
channel: Alert
channel: Urgent
persistant: true
sticky: true
notification_icon: "{{ state_attr('binary_sensor.alarm_bypassed_sensor_alert', 'icon') }}"
Expand Down
2 changes: 1 addition & 1 deletion automations/alarm/alarm_code_error.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
data:
tag: alarm_code_error
group: Alarm
channel: Alert
channel: Urgent
notification_icon: mdi:shield-alert
icon_url: !secret ALERT_ICON
ledColor: !secret SEVERE_COLOR
Expand Down
2 changes: 1 addition & 1 deletion automations/alarm/alarm_open_sensor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
data:
tag: open_sensor
group: Alarm
channel: Alert
channel: Urgent
persistant: true
sticky: true
notification_icon: "{{ state_attr('binary_sensor.alarm_open_sensor_alert', 'icon') }}"
Expand Down
2 changes: 1 addition & 1 deletion automations/alarm/alarm_triggered_notification.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@
data:
tag: alarm_pending
group: Alarm
channel: Alert
channel: Urgent
persistent: true
sticky: true
chronometer: true
Expand Down
2 changes: 1 addition & 1 deletion automations/camera/camera_object_detected.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
data:
tag: "{{ id }}"
group: Camera
channel: Alert
channel: Camera
visibility: public
when: "{{ start_time }}"
notification_icon: mdi:cctv
Expand Down
4 changes: 2 additions & 2 deletions automations/climate/climate_fireplace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
data:
tag: fireplace_emergency_on
group: Alert
channel: Alert
channel: Urgent
notification_icon: mdi:fireplace
icon_url: !secret FIREPLACE_ICON
ledColor: !secret WARNING_COLOR
Expand Down Expand Up @@ -138,7 +138,7 @@
data:
tag: fireplace_off
group: Alert
channel: Alert
channel: Urgent
visibility: public
notification_icon: mdi:fireplace
icon_url: !secret FIREPLACE_ICON
Expand Down
2 changes: 1 addition & 1 deletion automations/climate/climate_temperature_alert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
data:
tag: emergency_heat
group: Alert
channel: Alert
channel: Urgent
notification_icon: mdi:thermostat
icon_url: !secret LOW_TEMP_ICON
ledColor: !secret WARNING_COLOR
Expand Down
4 changes: 3 additions & 1 deletion automations/hass/hass_log_error.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
event_type: system_log_event
event_data:
level: ERROR
conditions: "{{ error != none }}"
conditions:
- condition: template
value_template: "{{ error != none }}"
actions:
- action: browser_mod.notification
data:
Expand Down
25 changes: 22 additions & 3 deletions automations/media/alarm_clock/alarm_clock_turn_on.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
conditions:
- condition: template
value_template: "{{ is_state('switch.alarm_clock_' ~ trigger.id, 'off') }}"

- condition: template
value_template: "{{ iif(trigger.id == 'nap', is_state('input_boolean.alarm_clock_nap', 'on'), true) }}"
actions:
Expand All @@ -30,6 +31,24 @@
target:
entity_id: input_boolean.alarm_clock_skip_next
else:
- action: switch.turn_on
target:
entity_id: "switch.alarm_clock_{{ trigger.id }}"
- if:
- condition: state #TEST
entity_id: input_select.occupancy_mode
state:
- Home
- Guest
- Night

- condition: template #TEST
value_template: "{{ iif(trigger.id == 'wake', is_state('input_select.occupancy_mode', 'Night'), true) }}"
then:
- action: switch.turn_on
target:
entity_id: "switch.alarm_clock_{{ trigger.id }}"
else:
- action: notify.jason #TEST
data:
title: "Alarm Clock"
message: "Alarm clock scheduled but nobody home!"


24 changes: 14 additions & 10 deletions automations/spa/spa_temperature_selection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,28 +25,32 @@
then:
- repeat: # repeats in case balboa is disconnected
sequence:
- action: switch.turn_off
- action: select.select_option
target:
entity_id: switch.spa_temp_range
entity_id: select.spa_temperature_range
data:
option: Low

- wait_template: "{{ is_state('switch.spa_temp_range', 'off') }}"
- wait_template: "{{ is_state('select.spa_temperature_range', 'Low') }}"
timeout:
minutes: 30
until:
- condition: state
entity_id: switch.spa_temp_range
state: "off"
entity_id: select.spa_temperature_range
state: Low
else:
- repeat: # repeats in case balboa is disconnected
sequence:
- action: switch.turn_on
- action: select.select_option
target:
entity_id: switch.spa_temp_range
entity_id: select.spa_temperature_range
data:
option: High

- wait_template: "{{ is_state('switch.spa_temp_range', 'on') }}"
- wait_template: "{{ is_state('select.spa_temperature_range', 'High') }}"
timeout:
minutes: 30
until:
- condition: state
entity_id: switch.spa_temp_range
state: "on"
entity_id: select.spa_temperature_range
state: High
2 changes: 1 addition & 1 deletion automations/zwave/zwave_keypress_events.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
sequence:
- action: input_boolean.toggle
target:
entity_id: input_boolean.charlie_home #IDEA use tracker
entity_id: input_boolean.charlie_home #NEXT use tracker

- action: script.inovelli_led_control
data:
Expand Down
2 changes: 1 addition & 1 deletion custom_templates/door.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{%- endif %}
{%- endmacro -%}

{%- macro door_icon_color(entity) -%}
{%- macro door_color(entity) -%}
{%- set alert_entity = entity ~ '_open_alert' %}
{%- set open = state_attr('alarm_control_panel.master', 'open_sensors')
if state_attr('alarm_control_panel.master', 'open_sensors') != none else '' %}
Expand Down
2 changes: 1 addition & 1 deletion custom_templates/lock.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{%- endif %}
{%- endmacro -%}

{%- macro lock_icon_color(entity) -%}
{%- macro lock_color(entity) -%}
{%- if not has_value(entity) %} grey
{%- elif is_state(entity, 'unlocked') %} yellow
{%- else %} white
Expand Down
2 changes: 1 addition & 1 deletion custom_templates/style.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ div.mdc-dialog__surface {
}
{%- endmacro -%}

{%- macro status_alert_style(value, base, minor, warning, severe, critical) -%}
{%- macro status_alert_color(value, base, minor, warning, severe, critical) -%}
:host {
--state-alert-on-color:
{%- set value = value | float(-1) -%}
Expand Down
Loading

0 comments on commit 700fd4c

Please sign in to comment.