status icons

This commit is contained in:
Jonas Forsberg 2022-07-26 15:20:56 +02:00
parent 8a06155f76
commit 4563766403
No known key found for this signature in database
GPG Key ID: F2E9818C70350CC9

View File

@ -56,6 +56,22 @@ cards:
variables: variables:
ulm_card_person_entity: person.iris ulm_card_person_entity: person.iris
ulm_card_person_use_entity_picture: true ulm_card_person_use_entity_picture: true
- type: grid
columns: 6
cards:
- type: 'custom:button-card'
template: chip_mdi_icon_only
variables:
ulm_chip_mdi_icon_state_entity: calendar.home_assistant_garbagebin
ulm_chip_mdi_icon_only_icon: mdi:trash-can
ulm_chip_mdi_icon_only_icon_color: "[[[ return states['calendar.home_assistant_garbagebin'].state == 'off' ? 'green' : 'red' ]]]"
- type: 'custom:button-card'
template: chip_mdi_icon_only
variables:
ulm_chip_mdi_icon_state_entity: inner_storage_water_leak
ulm_chip_mdi_icon_only_icon: mdi-water
ulm_chip_mdi_icon_only_icon_color: "[[[ return states['inner_storage_water_leak'].state == 'off' ? 'blue' : 'red' ]]]"
- type: 'custom:button-card' - type: 'custom:button-card'
template: card_title template: card_title
name: Rooms name: Rooms
@ -88,7 +104,8 @@ cards:
variables: variables:
ulm_custom_card_esh_room_light_entity: light.light_livinroom_1 ulm_custom_card_esh_room_light_entity: light.light_livinroom_1
ulm_custom_card_esh_room_climate_entity: ulm_custom_card_esh_room_climate_entity:
- type: horizontal-stack - type: grid
columns: 2
cards: cards:
- type: "custom:button-card" - type: "custom:button-card"
template: template: