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