yaml tidyups and warning removals

This commit is contained in:
root
2026-01-24 14:06:52 +13:00
parent 9bbde16d8d
commit c104187d62
44 changed files with 391 additions and 124 deletions
+15 -5
View File
@@ -219,11 +219,21 @@ template:
unique_id: ha_summary_addons
icon: mdi:puzzle
state: >-
{% set a = states.update | selectattr('entity_id','in', integration_entities('hassio')) | list %}
{% set b = states.update | selectattr('attributes.attribution','search','Supervisor') | list %}
{{ (a + b) | unique | list
| rejectattr('entity_id','search','^update\\.home_assistant_(core|supervisor|operating_system)_update$')
| list | length }}
{% set hassio_updates = (integration_entities('hassio') | list) %}
{% set a = states.update
| selectattr('entity_id','in', hassio_updates)
| map(attribute='entity_id')
| list %}
{% set b = states.update
| selectattr('attributes.attribution','defined')
| selectattr('attributes.attribution','search','Supervisor')
| map(attribute='entity_id')
| list %}
{% set ids = (a + b)
| unique
| reject('search','^update\\.home_assistant_(core|supervisor|operating_system)_update$')
| list %}
{{ ids | length }}
# ---------- HACS updates available (proxy only) ----------
- name: HA Summary - hacs updates
@@ -61,7 +61,6 @@ template:
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{{ ns.e }}
names: >
@@ -75,6 +74,5 @@ template:
{% endif %}
{% endif %}
{% endif %}
{% endif %}
{% endfor %}
{{ ns.n }}
+1 -1
View File
@@ -1,7 +1,7 @@
sensor:
- platform: derivative
name: Main Bathroom Humidity Change Rate
source: sensor.main_bathroom_environment_zth04_humidity
source: sensor.main_bathroom_environment_zth10_humidity_2
round: 1
unit_time: s # the resulting "unit_of_measurement" will be %H/s if the sensor.temperate has set %H as its unit
time_window: "00:00:10" # we look at the change over the last 10 seconds