Tom21
16. Januar 2024 um 19:39
1
Ich tipp im code rum aber ich komm nicht drauf. Die bisherigen Schaltflächen hab ich alle nur kopiert und die Entitäten verändert, ich würds aber gerne auch verstehen.
Wie kann ich neben Gründlich eine 2.Schaltfläche erstellen? Plus Zeichen wie für den horizontal stack gibts ja nicht
type: vertical-stack
title: Poolroboter
cards:
- type: horizontal-stack
cards:
- type: tile
tap_action:
action: navigate
navigation_path: ''
entity: vacuum.robbi
icon: mdi:robot
- type: horizontal-stack
cards:
- type: tile
tap_action:
action: none
entity: number.robbi_cycle_time_fast_mode
name: Schnell
icon: mdi:vacuum-outline
- type: tile
tap_action:
action: none
icon: mdi:vacuum-outline
entity: number.robbi_cycle_time_regular
name: Normal
- type: tile
tap_action:
action: none
icon: mdi:vacuum-outline
entity: number.robbi_cycle_time_ultra_clean
name: Gründlich
maxe
16. Januar 2024 um 19:42
2
Du musst an “3” eine horizontale Karte erstellen. In diese packst du dann “Gründlich” und die weitere Karte.
Momentan ist dein “Gründlich” die 3.
EDIT: so muss der Code angepasst werden:
type: vertical-stack
title: Poolroboter
cards:
- type: horizontal-stack
cards:
- type: tile
tap_action:
action: navigate
navigation_path: ''
entity: vacuum.robbi
icon: mdi:robot
- type: horizontal-stack
cards:
- type: tile
tap_action:
action: none
entity: number.robbi_cycle_time_fast_mode
name: Schnell
icon: mdi:vacuum-outline
- type: tile
tap_action:
action: none
icon: mdi:vacuum-outline
entity: number.robbi_cycle_time_regular
name: Normal
- type: horizontal-stack
cards:
- type: tile
tap_action:
action: none
entity: number.robbi_cycle_time_ultra_clean
name: Gründlich
icon: mdi:vacuum-outline
- type: tile
tap_action:
action: none
icon: mdi:vacuum-outline
entity: number.robbi_cycle_time_xxx
name: xxx
Tom21
16. Januar 2024 um 20:07
5
zwischen Bindestrich und “type” muss eine Leerzeichen das wars
maxe
16. Januar 2024 um 20:08
6
Die 3 siehst du in deinen Screenshot
Tom21:
Tom21
16. Januar 2024 um 20:21
7
action: none
hatte ich auch bündig, ging auch nicht.
Ich habe vor 37 Jahren programmieren gelernt, das hieß damals Basic und Computer war ein C64 bzw C16 also seid nachsichtig