fix lovelace syntax issues

This commit is contained in:
Robert Kaussow 2024-10-17 22:25:22 +02:00
parent 865a27fb6e
commit 18297a920f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
5 changed files with 269 additions and 278 deletions

View File

@ -1,7 +1,6 @@
- title: Home
id: light
icon: mdi:home
cards:
title: Home
icon: mdi:home
cards:
- type: custom:weather-card
entity: weather.forecast_home
current: true

View File

@ -1,10 +1,8 @@
- title: Licht
id: light
icon: mdi:lightbulb-outline
cards:
title: Licht
icon: mdi:lightbulb-outline
cards:
- type: entities
title: Wohnzimmer
id: livingroom
show_header_toggle: false
entities:
- entity: light.livingroom_light
@ -36,7 +34,6 @@
- type: entities
title: Büro
id: office
show_header_toggle: false
entities:
- entity: light.office_light
@ -58,7 +55,6 @@
- type: entities
title: Schlafzimmer
id: bedroom
show_header_toggle: false
entities:
- entity: light.bedroom_light
@ -80,7 +76,6 @@
- type: entities
title: Flur
id: hall
show_header_toggle: false
entities:
- entity: light.hall_light
@ -97,7 +92,6 @@
- type: entities
title: Bad
id: bath
show_header_toggle: false
entities:
- entity: light.bath_light

View File

@ -1,7 +1,6 @@
- title: Staubsauger
id: vacuum
icon: mdi:robot-vacuum
cards:
title: Staubsauger
icon: mdi:robot-vacuum
cards:
- type: custom:valetudo-map-card
vacuum: "valetudo_rockrobo"
map_scale: 1.3

View File

@ -1,7 +1,6 @@
- title: Wartung
id: maintenance
icon: mdi:tools
cards:
title: Wartung
icon: mdi:tools
cards:
- type: custom:auto-entities
card:
type: entities

View File

@ -48,7 +48,7 @@ zigbee2mqtt:
service: mqtt.publish
data_template:
topic: zigbee2mqtt/bridge/request/device/rename
payload_template: >-
payload: >-
{
"from": "{{ states.input_text.zigbee2mqtt_old_name.state | string }}",
"to": "{{ states.input_text.zigbee2mqtt_new_name.state | string }}"
@ -59,7 +59,7 @@ zigbee2mqtt:
service: mqtt.publish
data_template:
topic: zigbee2mqtt/bridge/request/device/remove
payload_template: >-
payload: >-
{
"id": "{{ states.input_text.zigbee2mqtt_remove.state | string }}",
"force": {% if states.input_boolean.zigbee2mqtt_force_remove.state == "off" %}false{% else %}true{% endif %}
@ -119,8 +119,8 @@ zigbee2mqtt:
action:
- service: mqtt.publish
data:
payload_template: "{{ states('input_select.zigbee2mqtt_log_level') }}"
topic: zigbee2mqtt/bridge/request/config/log_level
payload: "{{ states('input_select.zigbee2mqtt_log_level') }}"
# Automation to start timer when enable join is turned on
- id: zigbee_join_enabled
alias: Zigbee Join Enabled