Ça ?
type: custom:auto-entities
filter:
include:
- entity_id: update.*
state: 'on'
exclude:
- entity_id: update.*
state: 'off'
- entity_id: update.*
attributes:
device_class: firmware
- entity_id: update.*
attributes:
supported_features: 25
- entity_id: update.home_assistant_core_update
- entity_id: update.home_assistant_operating_system_update
- entity_id: update.home_assistant_supervisor_update
card:
type: custom:flex-table-card
sort_by: friendly_name+
clickable: true
columns:
- data: friendly_name
icon: hacs:hacs
align: left
name: ' Nom'
modify: |-
x = x.replace('update', '');
x;
- data: installed_version
name: Installé
align: center
- data: latest_version
name: Dernière
align: center
- data: release_url
name: Changelog
modify: '''<a href="'' + x + ''">'' + x + ''</a>'' '
css:
tbody tr td:nth-child(1): 'font-size: 12px; width: 20%;'
tbody tr td:nth-child(2): 'color: green; font-weight: bold; font-size: 11px;'
tbody tr td:nth-child(3): 'color: red; font-weight: bold; font-size: 11px;'
tbody tr td:nth-child(4): 'font-size: 10px; width: 15%;'
Attention, ça ouvre pas une nouvelle page !