alert-icons
This commit is contained in:
parent
4563766403
commit
ce60768220
@ -56,21 +56,20 @@ cards:
|
||||
variables:
|
||||
ulm_card_person_entity: person.iris
|
||||
ulm_card_person_use_entity_picture: true
|
||||
- type: grid
|
||||
columns: 6
|
||||
- type: horizontal-stack
|
||||
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' ]]]"
|
||||
ulm_chip_mdi_icon_only_icon_color: "[[[ return states['calendar.home_assistant_garbagebin'].state == 'off' ? 'gray' : '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' ]]]"
|
||||
ulm_chip_mdi_icon_only_icon: "[[[ return states['binary_sensor.inner_storage_water_leak'].state == 'off' ? 'mdi:water' : 'mdi:water-alert' ]]]"
|
||||
ulm_chip_mdi_icon_only_icon_color: "[[[ return states['binary_sensor.inner_storage_water_leak'].state == 'off' ? 'gray' : 'red' ]]]"
|
||||
|
||||
- type: 'custom:button-card'
|
||||
template: card_title
|
||||
|
Loading…
Reference in New Issue
Block a user