Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
713ddb9f75
|
|||
10d7ec5e03
|
|||
95ffb38b7e
|
|||
b5c295a19d
|
|||
bd9dde2455
|
|||
857870e0b1
|
|||
003fe6614d
|
@ -1 +1 @@
|
|||||||
2025.4.2
|
2025.4.3
|
@ -32,8 +32,16 @@ frontend:
|
|||||||
extra_module_url:
|
extra_module_url:
|
||||||
- /hacsfiles/hass-hue-icons/hass-hue-icons.js
|
- /hacsfiles/hass-hue-icons/hass-hue-icons.js
|
||||||
- /hacsfiles/hass-bha-icons/hass-bha-icons.js
|
- /hacsfiles/hass-bha-icons/hass-bha-icons.js
|
||||||
|
- /hacsfiles/material-you-utilities/material-you-utilities.min.js
|
||||||
javascript_version: latest
|
javascript_version: latest
|
||||||
|
|
||||||
|
panel_custom:
|
||||||
|
- name: material-you-panel
|
||||||
|
url_path: material-you-configuration
|
||||||
|
sidebar_title: Material You Utilities
|
||||||
|
sidebar_icon: mdi:material-design
|
||||||
|
module_url: /hacsfiles/material-you-utilities/material-you-utilities.min.js
|
||||||
|
|
||||||
http:
|
http:
|
||||||
use_x_forwarded_for: true
|
use_x_forwarded_for: true
|
||||||
trusted_proxies:
|
trusted_proxies:
|
||||||
@ -107,6 +115,7 @@ recorder:
|
|||||||
- sensor.*gpu_core_load
|
- sensor.*gpu_core_load
|
||||||
- sensor.portainer*
|
- sensor.portainer*
|
||||||
- sensor.mosquitto*
|
- sensor.mosquitto*
|
||||||
|
- sensor.*_rssi
|
||||||
entities:
|
entities:
|
||||||
- sensor.avg_ping
|
- sensor.avg_ping
|
||||||
- sensor.max_ping
|
- sensor.max_ping
|
||||||
|
@ -32,9 +32,11 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
{% if ' - ' in game_clock %}
|
{% if ' - ' in game_clock %}
|
||||||
{% set clock_time, quarter = game_clock.split(' - ') %}
|
{% set clock_time, quarter = game_clock.split(' - ') %}
|
||||||
with {{ clock_time ~ ' remaining in the ' ~ quarter ~ ' ' ~ period_str }}
|
{% if quarter == 'ot' %}
|
||||||
{% else %}
|
with {{ clock_time ~ ' remaining in overtime' }}
|
||||||
with {{ game_clock ~ ' remaining in the ' ~ period_str }}
|
{% else %}
|
||||||
|
with {{ clock_time ~ ' remaining in the ' ~ quarter ~ ' ' ~ period_str }}
|
||||||
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
@ -116,16 +116,6 @@ template:
|
|||||||
unique_id: 2ce31844-b115-42b8-8213-feccf24e236c
|
unique_id: 2ce31844-b115-42b8-8213-feccf24e236c
|
||||||
state: "{{ state_attr('climate.master_bedroom_aircon','temperature') | float }}"
|
state: "{{ state_attr('climate.master_bedroom_aircon','temperature') | float }}"
|
||||||
availability: "{{ states('climate.master_bedroom_aircon') not in ['unavailable','unknown'] }}"
|
availability: "{{ states('climate.master_bedroom_aircon') not in ['unavailable','unknown'] }}"
|
||||||
- name: "Master Bedroom Eco Mode"
|
|
||||||
unique_id: edf36e23-adcf-4506-80eb-a14f4ea2fce0
|
|
||||||
state: "{{ is_state_attr('climate.master_bedroom_aircon','eco_mode',true) }}"
|
|
||||||
icon: >-
|
|
||||||
{% if is_state_attr('climate.master_bedroom_aircon','eco_mode',true) %}
|
|
||||||
mdi:home-lightning-bolt
|
|
||||||
{% else %}
|
|
||||||
mdi:home-lightning-bolt-outline
|
|
||||||
{% endif %}
|
|
||||||
availability: "{{ states('climate.master_bedroom_aircon') not in ['unavailable','unknown'] }}"
|
|
||||||
- name: "Master Bedroom Aircon Fan Mode"
|
- name: "Master Bedroom Aircon Fan Mode"
|
||||||
unique_id: c0e4f9ba-0c6c-4673-9a75-13f253f2f2e8
|
unique_id: c0e4f9ba-0c6c-4673-9a75-13f253f2f2e8
|
||||||
state: "{{ state_attr('climate.master_bedroom_aircon','fan_mode') }}"
|
state: "{{ state_attr('climate.master_bedroom_aircon','fan_mode') }}"
|
||||||
@ -146,16 +136,6 @@ template:
|
|||||||
unique_id: b81152a1-d4d9-4e3e-8a78-6039de2884ad
|
unique_id: b81152a1-d4d9-4e3e-8a78-6039de2884ad
|
||||||
state: "{{ state_attr('climate.emma_bedroom_aircon','temperature') | float }}"
|
state: "{{ state_attr('climate.emma_bedroom_aircon','temperature') | float }}"
|
||||||
availability: "{{ states('climate.emma_bedroom_aircon') not in ['unavailable','unknown'] }}"
|
availability: "{{ states('climate.emma_bedroom_aircon') not in ['unavailable','unknown'] }}"
|
||||||
- name: "Emma Bedroom Eco Mode"
|
|
||||||
unique_id: 4b6fc8fc-4152-4d8b-ad8d-80f97fcabe44
|
|
||||||
state: "{{ is_state_attr('climate.emma_bedroom_aircon','eco_mode',true) }}"
|
|
||||||
icon: >-
|
|
||||||
{% if is_state_attr('climate.emma_bedroom_aircon','eco_mode',true) %}
|
|
||||||
mdi:home-lightning-bolt
|
|
||||||
{% else %}
|
|
||||||
mdi:home-lightning-bolt-outline
|
|
||||||
{% endif %}
|
|
||||||
availability: "{{ states('climate.emma_bedroom_aircon') not in ['unavailable','unknown'] }}"
|
|
||||||
- name: "Emma Bedroom Aircon Fan Mode"
|
- name: "Emma Bedroom Aircon Fan Mode"
|
||||||
unique_id: d678eb2e-be5b-4626-913d-fc1e32941ead
|
unique_id: d678eb2e-be5b-4626-913d-fc1e32941ead
|
||||||
state: "{{ state_attr('climate.emma_bedroom_aircon','fan_mode') }}"
|
state: "{{ state_attr('climate.emma_bedroom_aircon','fan_mode') }}"
|
||||||
|
@ -659,14 +659,18 @@ template:
|
|||||||
state: >
|
state: >
|
||||||
{% set lights = states.light.upstairs_bathroom_lights,
|
{% set lights = states.light.upstairs_bathroom_lights,
|
||||||
states.light.hallway_overhead,
|
states.light.hallway_overhead,
|
||||||
states.light.downstairs_bathroom_lights %}
|
states.light.downstairs_bathroom_lights,
|
||||||
|
states.light.living_room_lights,
|
||||||
|
states.light.front_porch_light %}
|
||||||
{% set issues = lights | selectattr('state','eq','unavailable') | list | count %}
|
{% set issues = lights | selectattr('state','eq','unavailable') | list | count %}
|
||||||
{{ issues > 0 }}
|
{{ issues > 0 }}
|
||||||
attributes:
|
attributes:
|
||||||
issues: >
|
issues: >
|
||||||
{% set lights = states.light.upstairs_bathroom_lights,
|
{% set lights = states.light.upstairs_bathroom_lights,
|
||||||
states.light.hallway_overhead,
|
states.light.hallway_overhead,
|
||||||
states.light.downstairs_bathroom_lights %}
|
states.light.downstairs_bathroom_lights,
|
||||||
|
states.light.living_room_lights,
|
||||||
|
states.light.front_porch_light %}
|
||||||
{% set ids = lights | selectattr('state','eq','unavailable') | map(attribute='attributes.friendly_name') | list %}
|
{% set ids = lights | selectattr('state','eq','unavailable') | map(attribute='attributes.friendly_name') | list %}
|
||||||
{{ ids | join(', ') }}
|
{{ ids | join(', ') }}
|
||||||
- sensor:
|
- sensor:
|
||||||
|
@ -714,14 +714,19 @@ script:
|
|||||||
entity_id: input_select.scheduled_climate_mode_emma_bedroom
|
entity_id: input_select.scheduled_climate_mode_emma_bedroom
|
||||||
data:
|
data:
|
||||||
option: >
|
option: >
|
||||||
{% if is_state('input_boolean.emma_bedroom_aircon_installed','on') %}
|
{% set low = states('sensor.overnight_lowest_temperature') | int %}
|
||||||
{% if (states('sensor.overnight_lowest_temperature') | int) >= (states('input_number.emma_aircon_threshold') | int) %}
|
{% set run_threshold = states('input_number.emma_bedroom_aircon_run_threshold') | int %}
|
||||||
|
{% set mode_threshold = states('input_number.emma_bedroom_aircon_mode_threshold') | int %}
|
||||||
|
{% if is_state('input_boolean.emma_bedroom_aircon_installed','off') %}
|
||||||
|
N/A
|
||||||
|
{% elif low >= run_threshold %}
|
||||||
|
{% if low >= mode_threshold %}
|
||||||
AC
|
AC
|
||||||
{% else %}
|
{% else %}
|
||||||
White Noise
|
Fan
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% else %}
|
{% else %}
|
||||||
White Noise
|
N/A
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- service: input_datetime.set_datetime
|
- service: input_datetime.set_datetime
|
||||||
target:
|
target:
|
||||||
|
Reference in New Issue
Block a user