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 title: Home
id: light icon: mdi:home
icon: mdi:home cards:
cards:
- type: custom:weather-card - type: custom:weather-card
entity: weather.forecast_home entity: weather.forecast_home
current: true current: true

View File

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

View File

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

View File

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

View File

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