Vanding: flyt smart-knap under sidst vandet (reel persistering efter SMB-fejl)
This commit is contained in:
@@ -466,36 +466,38 @@ cards:
|
|||||||
# � Vanding
|
# � Vanding
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:button-card
|
- type: vertical-stack
|
||||||
entity: sensor.vanding_sidst_vandet_compact
|
cards:
|
||||||
show_icon: false
|
- type: custom:button-card
|
||||||
show_name: true
|
entity: sensor.vanding_sidst_vandet_compact
|
||||||
show_state: true
|
show_icon: false
|
||||||
name: Sidst vandet
|
show_name: true
|
||||||
tap_action:
|
show_state: true
|
||||||
action: none
|
name: Sidst vandet
|
||||||
hold_action:
|
tap_action:
|
||||||
action: none
|
action: none
|
||||||
styles:
|
hold_action:
|
||||||
card:
|
action: none
|
||||||
- padding: 8px
|
styles:
|
||||||
name:
|
card:
|
||||||
- font-size: 11px
|
- padding: 8px
|
||||||
- color: var(--secondary-text-color)
|
name:
|
||||||
- padding-bottom: 4px
|
- font-size: 11px
|
||||||
state:
|
- color: var(--secondary-text-color)
|
||||||
- white-space: normal
|
- padding-bottom: 4px
|
||||||
- word-break: break-word
|
state:
|
||||||
- line-height: 1.2
|
- white-space: normal
|
||||||
- font-size: 13px
|
- word-break: break-word
|
||||||
- text-align: center
|
- line-height: 1.2
|
||||||
|
- font-size: 13px
|
||||||
|
- text-align: center
|
||||||
|
|
||||||
- type: button
|
- type: button
|
||||||
name: Smart vanding
|
name: Smart vanding
|
||||||
icon: mdi:sprinkler-variant
|
icon: mdi:sprinkler-variant
|
||||||
entity: script.vanding_hojbed_skiftevis
|
entity: script.vanding_hojbed_skiftevis
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
entity: sensor.vanding_liter_i_dag_total
|
entity: sensor.vanding_liter_i_dag_total
|
||||||
|
|||||||
Reference in New Issue
Block a user