Vanding: flyt smart-knap under sidst vandet (reel persistering efter SMB-fejl)

This commit is contained in:
2026-06-20 19:01:39 +02:00
parent add40a9e5f
commit 63d61eb111
+31 -29
View File
@@ -466,36 +466,38 @@ cards:
# Vanding
- type: horizontal-stack
cards:
- type: custom:button-card
entity: sensor.vanding_sidst_vandet_compact
show_icon: false
show_name: true
show_state: true
name: Sidst vandet
tap_action:
action: none
hold_action:
action: none
styles:
card:
- padding: 8px
name:
- font-size: 11px
- color: var(--secondary-text-color)
- padding-bottom: 4px
state:
- white-space: normal
- word-break: break-word
- line-height: 1.2
- font-size: 13px
- text-align: center
- type: vertical-stack
cards:
- type: custom:button-card
entity: sensor.vanding_sidst_vandet_compact
show_icon: false
show_name: true
show_state: true
name: Sidst vandet
tap_action:
action: none
hold_action:
action: none
styles:
card:
- padding: 8px
name:
- font-size: 11px
- color: var(--secondary-text-color)
- padding-bottom: 4px
state:
- white-space: normal
- word-break: break-word
- line-height: 1.2
- font-size: 13px
- text-align: center
- type: button
name: Smart vanding
icon: mdi:sprinkler-variant
entity: script.vanding_hojbed_skiftevis
tap_action:
action: toggle
- type: button
name: Smart vanding
icon: mdi:sprinkler-variant
entity: script.vanding_hojbed_skiftevis
tap_action:
action: toggle
- type: custom:button-card
entity: sensor.vanding_liter_i_dag_total