fix lovelace syntax issues
This commit is contained in:
parent
865a27fb6e
commit
18297a920f
@ -1,66 +1,65 @@
|
|||||||
- 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
|
details: false
|
||||||
details: false
|
forecast: true
|
||||||
forecast: true
|
hourly_forecast: false
|
||||||
hourly_forecast: false
|
number_of_forecasts: 5
|
||||||
number_of_forecasts: 5
|
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Status
|
title: Status
|
||||||
entities:
|
entities:
|
||||||
- entity: light.all
|
- entity: light.all
|
||||||
name: Licht
|
name: Licht
|
||||||
|
|
||||||
- type: section
|
- type: section
|
||||||
label: Wohnzimmer
|
label: Wohnzimmer
|
||||||
- entity: sensor.livingroom_sensor_temperature_temperature
|
- entity: sensor.livingroom_sensor_temperature_temperature
|
||||||
name: Luft
|
name: Luft
|
||||||
icon: mdi:air-filter
|
icon: mdi:air-filter
|
||||||
show_state: false
|
show_state: false
|
||||||
type: custom:multiple-entity-row
|
type: custom:multiple-entity-row
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.livingroom_sensor_temperature_temperature
|
- entity: sensor.livingroom_sensor_temperature_temperature
|
||||||
name: Temperatur
|
name: Temperatur
|
||||||
- entity: sensor.livingroom_sensor_temperature_humidity
|
- entity: sensor.livingroom_sensor_temperature_humidity
|
||||||
name: Feuchtigkeit
|
name: Feuchtigkeit
|
||||||
|
|
||||||
- type: section
|
- type: section
|
||||||
label: Küche
|
label: Küche
|
||||||
- entity: binary_sensor.ki_fridge_door_sensor_contact_state
|
- entity: binary_sensor.ki_fridge_door_sensor_contact_state
|
||||||
name: Kühlschrank
|
name: Kühlschrank
|
||||||
show_state: false
|
show_state: false
|
||||||
type: custom:multiple-entity-row
|
type: custom:multiple-entity-row
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.kitchen_sensor_temperature_fridge_temperature
|
- entity: sensor.kitchen_sensor_temperature_fridge_temperature
|
||||||
name: Temperatur
|
name: Temperatur
|
||||||
- entity: sensor.kitchen_sensor_temperature_fridge_humidity
|
- entity: sensor.kitchen_sensor_temperature_fridge_humidity
|
||||||
name: Feuchtigkeit
|
name: Feuchtigkeit
|
||||||
|
|
||||||
- type: section
|
- type: section
|
||||||
label: Büro
|
label: Büro
|
||||||
- entity: sensor.office_sensor_air_quality_rating
|
- entity: sensor.office_sensor_air_quality_rating
|
||||||
name: Luftqualität
|
name: Luftqualität
|
||||||
|
|
||||||
type: custom:multiple-entity-row
|
type: custom:multiple-entity-row
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.office_sensor_air_quality_temperature
|
- entity: sensor.office_sensor_air_quality_temperature
|
||||||
name: Temperatur
|
name: Temperatur
|
||||||
- entity: sensor.office_sensor_air_quality_humidity
|
- entity: sensor.office_sensor_air_quality_humidity
|
||||||
name: Feuchtigkeit
|
name: Feuchtigkeit
|
||||||
|
|
||||||
- type: section
|
- type: section
|
||||||
label: Bad
|
label: Bad
|
||||||
- entity: sensor.bath_sensor_air_quality_rating
|
- entity: sensor.bath_sensor_air_quality_rating
|
||||||
name: Luftqualität
|
name: Luftqualität
|
||||||
|
|
||||||
type: custom:multiple-entity-row
|
type: custom:multiple-entity-row
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.bath_sensor_air_quality_temperature
|
- entity: sensor.bath_sensor_air_quality_temperature
|
||||||
name: Temperatur
|
name: Temperatur
|
||||||
- entity: sensor.bath_sensor_air_quality_humidity
|
- entity: sensor.bath_sensor_air_quality_humidity
|
||||||
name: Feuchtigkeit
|
name: Feuchtigkeit
|
||||||
|
@ -1,113 +1,107 @@
|
|||||||
- title: Licht
|
title: Licht
|
||||||
id: light
|
icon: mdi:lightbulb-outline
|
||||||
icon: mdi:lightbulb-outline
|
cards:
|
||||||
cards:
|
- type: entities
|
||||||
- type: entities
|
title: Wohnzimmer
|
||||||
title: Wohnzimmer
|
show_header_toggle: false
|
||||||
id: livingroom
|
entities:
|
||||||
show_header_toggle: false
|
- entity: light.livingroom_light
|
||||||
entities:
|
- type: custom:fold-entity-row
|
||||||
- entity: light.livingroom_light
|
head:
|
||||||
- type: custom:fold-entity-row
|
type: section
|
||||||
head:
|
label: Lampen
|
||||||
type: section
|
items:
|
||||||
label: Lampen
|
# livingroom_lamp_bookshelf
|
||||||
items:
|
- entity: light.livingroom_lamp_bookshelf
|
||||||
# livingroom_lamp_bookshelf
|
- type: custom:slider-entity-row
|
||||||
- entity: light.livingroom_lamp_bookshelf
|
entity: light.livingroom_lamp_bookshelf
|
||||||
- type: custom:slider-entity-row
|
full_row: true
|
||||||
entity: light.livingroom_lamp_bookshelf
|
# livingroom_lamp_floor
|
||||||
full_row: true
|
- entity: light.livingroom_lamp_floor
|
||||||
# livingroom_lamp_floor
|
- type: custom:slider-entity-row
|
||||||
- entity: light.livingroom_lamp_floor
|
entity: light.livingroom_lamp_floor
|
||||||
- type: custom:slider-entity-row
|
full_row: true
|
||||||
entity: light.livingroom_lamp_floor
|
# livingroom_lamp_ambience
|
||||||
full_row: true
|
- entity: light.livingroom_lamp_ambience
|
||||||
# livingroom_lamp_ambience
|
- type: custom:slider-entity-row
|
||||||
- entity: light.livingroom_lamp_ambience
|
entity: light.livingroom_lamp_ambience
|
||||||
- type: custom:slider-entity-row
|
full_row: true
|
||||||
entity: light.livingroom_lamp_ambience
|
# kitchen_lamp_cupboard
|
||||||
full_row: true
|
- entity: light.kitchen_lamp_cupboard
|
||||||
# kitchen_lamp_cupboard
|
- type: custom:slider-entity-row
|
||||||
- entity: light.kitchen_lamp_cupboard
|
entity: light.kitchen_lamp_cupboard
|
||||||
- type: custom:slider-entity-row
|
full_row: true
|
||||||
entity: light.kitchen_lamp_cupboard
|
|
||||||
full_row: true
|
|
||||||
|
|
||||||
- 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
|
- type: custom:fold-entity-row
|
||||||
- type: custom:fold-entity-row
|
head:
|
||||||
head:
|
type: section
|
||||||
type: section
|
label: Lampen
|
||||||
label: Lampen
|
items:
|
||||||
items:
|
# office_lamp_bookshelf
|
||||||
# office_lamp_bookshelf
|
- entity: light.office_lamp_bookshelf
|
||||||
- entity: light.office_lamp_bookshelf
|
- type: custom:slider-entity-row
|
||||||
- type: custom:slider-entity-row
|
entity: light.office_lamp_bookshelf
|
||||||
entity: light.office_lamp_bookshelf
|
full_row: true
|
||||||
full_row: true
|
# office_lamp_floor
|
||||||
# office_lamp_floor
|
- entity: light.office_lamp_floor
|
||||||
- entity: light.office_lamp_floor
|
- type: custom:slider-entity-row
|
||||||
- type: custom:slider-entity-row
|
entity: light.office_lamp_floor
|
||||||
entity: light.office_lamp_floor
|
full_row: true
|
||||||
full_row: true
|
|
||||||
|
|
||||||
- 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
|
- type: custom:fold-entity-row
|
||||||
- type: custom:fold-entity-row
|
head:
|
||||||
head:
|
type: section
|
||||||
type: section
|
label: Lampen
|
||||||
label: Lampen
|
items:
|
||||||
items:
|
# bedroom_lamp_nightstand_right
|
||||||
# bedroom_lamp_nightstand_right
|
- entity: light.bedroom_lamp_nightstand_right
|
||||||
- entity: light.bedroom_lamp_nightstand_right
|
- type: custom:slider-entity-row
|
||||||
- type: custom:slider-entity-row
|
entity: light.bedroom_lamp_nightstand_right
|
||||||
entity: light.bedroom_lamp_nightstand_right
|
full_row: true
|
||||||
full_row: true
|
# bedroom_lamp_nightstand_left
|
||||||
# bedroom_lamp_nightstand_left
|
- entity: light.bedroom_lamp_nightstand_left
|
||||||
- entity: light.bedroom_lamp_nightstand_left
|
- type: custom:slider-entity-row
|
||||||
- type: custom:slider-entity-row
|
entity: light.bedroom_lamp_nightstand_left
|
||||||
entity: light.bedroom_lamp_nightstand_left
|
full_row: true
|
||||||
full_row: true
|
|
||||||
|
|
||||||
- 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
|
- type: custom:fold-entity-row
|
||||||
- type: custom:fold-entity-row
|
head:
|
||||||
head:
|
type: section
|
||||||
type: section
|
label: Lampen
|
||||||
label: Lampen
|
items:
|
||||||
items:
|
# hall_lamp_sideboard
|
||||||
# hall_lamp_sideboard
|
- entity: light.hall_lamp_sideboard
|
||||||
- entity: light.hall_lamp_sideboard
|
- type: custom:slider-entity-row
|
||||||
- type: custom:slider-entity-row
|
entity: light.hall_lamp_sideboard
|
||||||
entity: light.hall_lamp_sideboard
|
full_row: true
|
||||||
full_row: true
|
|
||||||
|
|
||||||
- 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
|
- type: custom:fold-entity-row
|
||||||
- type: custom:fold-entity-row
|
head:
|
||||||
head:
|
type: section
|
||||||
type: section
|
label: Lampen
|
||||||
label: Lampen
|
items:
|
||||||
items:
|
# hall_lamp_sideboard
|
||||||
# hall_lamp_sideboard
|
- entity: light.bath_lamp_sideboard
|
||||||
- entity: light.bath_lamp_sideboard
|
- type: custom:slider-entity-row
|
||||||
- type: custom:slider-entity-row
|
entity: light.bath_lamp_sideboard
|
||||||
entity: light.bath_lamp_sideboard
|
full_row: true
|
||||||
full_row: true
|
|
||||||
|
@ -1,47 +1,46 @@
|
|||||||
- 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
|
min_height: 300
|
||||||
min_height: 300
|
rotate: 0
|
||||||
rotate: 0
|
crop:
|
||||||
crop:
|
top: 0
|
||||||
top: 0
|
bottom: 0
|
||||||
bottom: 0
|
left: 0
|
||||||
left: 0
|
right: 0
|
||||||
right: 0
|
floor_color: "#03a9f4"
|
||||||
floor_color: "#03a9f4"
|
wall_color: "#263238"
|
||||||
wall_color: "#263238"
|
no_go_area_color: "#d84315"
|
||||||
no_go_area_color: "#d84315"
|
show_dock: false
|
||||||
show_dock: false
|
show_battery_level: false
|
||||||
show_battery_level: false
|
show_start_button: false
|
||||||
show_start_button: false
|
show_pause_button: false
|
||||||
show_pause_button: false
|
show_stop_button: false
|
||||||
show_stop_button: false
|
show_home_button: false
|
||||||
show_home_button: false
|
show_locate_button: false
|
||||||
show_locate_button: false
|
show_status: false
|
||||||
show_status: false
|
vacuum_color: "#FFFFFF"
|
||||||
vacuum_color: "#FFFFFF"
|
- type: custom:vacuum-card
|
||||||
- type: custom:vacuum-card
|
entity: vacuum.valetudo_rockrobo
|
||||||
entity: vacuum.valetudo_rockrobo
|
compact_view: false
|
||||||
compact_view: false
|
image: /local/icons/robot.svg
|
||||||
image: /local/icons/robot.svg
|
stats:
|
||||||
stats:
|
cleaning:
|
||||||
cleaning:
|
- attribute: cleanArea
|
||||||
- attribute: cleanArea
|
subtitle: Cleaning area
|
||||||
subtitle: Cleaning area
|
unit: m2
|
||||||
unit: m2
|
- attribute: cleanTime
|
||||||
- attribute: cleanTime
|
subtitle: Cleaning time
|
||||||
subtitle: Cleaning time
|
unit: minutes
|
||||||
unit: minutes
|
default:
|
||||||
default:
|
- entity_id: sensor.valetudo_rockrobo_main_filter_duration
|
||||||
- entity_id: sensor.valetudo_rockrobo_main_filter_duration
|
subtitle: Filter
|
||||||
subtitle: Filter
|
- entity_id: sensor.valetudo_rockrobo_right_brush_duration
|
||||||
- entity_id: sensor.valetudo_rockrobo_right_brush_duration
|
subtitle: Seitenbürste
|
||||||
subtitle: Seitenbürste
|
- entity_id: sensor.valetudo_rockrobo_main_brush_duration
|
||||||
- entity_id: sensor.valetudo_rockrobo_main_brush_duration
|
subtitle: Hauptbürste
|
||||||
subtitle: Hauptbürste
|
- entity_id: sensor.valetudo_rockrobo_sensor_duration
|
||||||
- entity_id: sensor.valetudo_rockrobo_sensor_duration
|
subtitle: Sensors
|
||||||
subtitle: Sensors
|
|
||||||
|
@ -1,62 +1,61 @@
|
|||||||
- 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
|
title: Batteriewarnung
|
||||||
title: Batteriewarnung
|
filter:
|
||||||
filter:
|
include:
|
||||||
include:
|
- entity_id: "sensor.*_battery"
|
||||||
- entity_id: "sensor.*_battery"
|
state: "<= 10"
|
||||||
state: "<= 10"
|
sort:
|
||||||
sort:
|
method: attribute
|
||||||
method: attribute
|
attribute: "battery"
|
||||||
attribute: "battery"
|
reverse: false
|
||||||
reverse: false
|
show_empty: false
|
||||||
show_empty: false
|
|
||||||
|
|
||||||
- type: custom:auto-entities
|
- type: custom:auto-entities
|
||||||
card:
|
card:
|
||||||
type: entities
|
type: entities
|
||||||
title: Firmware Updates
|
title: Firmware Updates
|
||||||
filter:
|
filter:
|
||||||
include:
|
include:
|
||||||
- entity_id: "update.*"
|
- entity_id: "update.*"
|
||||||
attributes:
|
attributes:
|
||||||
update:state: available
|
update:state: available
|
||||||
options:
|
options:
|
||||||
icon: mdi:update
|
icon: mdi:update
|
||||||
state_color: false
|
state_color: false
|
||||||
- entity_id: "update.*"
|
- entity_id: "update.*"
|
||||||
attributes:
|
attributes:
|
||||||
update:state: updating
|
update:state: updating
|
||||||
options:
|
options:
|
||||||
icon: mdi:progress-wrench
|
icon: mdi:progress-wrench
|
||||||
state_color: false
|
state_color: false
|
||||||
sort:
|
sort:
|
||||||
method: attribute
|
method: attribute
|
||||||
attribute: "battery"
|
attribute: "battery"
|
||||||
reverse: false
|
reverse: false
|
||||||
show_empty: false
|
show_empty: false
|
||||||
|
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Zigbee2MQTT
|
title: Zigbee2MQTT
|
||||||
show_header_toggle: False
|
show_header_toggle: False
|
||||||
entities:
|
entities:
|
||||||
- entity: sensor.zigbee2mqtt_bridge_state
|
- entity: sensor.zigbee2mqtt_bridge_state
|
||||||
- entity: sensor.zigbee2mqtt_version
|
- entity: sensor.zigbee2mqtt_version
|
||||||
- entity: sensor.zigbee2mqtt_coordinator_version
|
- entity: sensor.zigbee2mqtt_coordinator_version
|
||||||
- entity: input_select.zigbee2mqtt_log_level
|
- entity: input_select.zigbee2mqtt_log_level
|
||||||
- type: divider
|
- type: divider
|
||||||
- entity: switch.zigbee2mqtt_main_join
|
- entity: switch.zigbee2mqtt_main_join
|
||||||
- entity: input_number.zigbee2mqtt_join_minutes
|
- entity: input_number.zigbee2mqtt_join_minutes
|
||||||
- entity: timer.zigbee_permit_join
|
- entity: timer.zigbee_permit_join
|
||||||
- type: divider
|
- type: divider
|
||||||
- entity: input_text.zigbee2mqtt_old_name
|
- entity: input_text.zigbee2mqtt_old_name
|
||||||
- entity: input_text.zigbee2mqtt_new_name
|
- entity: input_text.zigbee2mqtt_new_name
|
||||||
- entity: script.zigbee2mqtt_rename
|
- entity: script.zigbee2mqtt_rename
|
||||||
- type: divider
|
- type: divider
|
||||||
- entity: input_text.zigbee2mqtt_remove
|
- entity: input_text.zigbee2mqtt_remove
|
||||||
- entity: input_boolean.zigbee2mqtt_force_remove
|
- entity: input_boolean.zigbee2mqtt_force_remove
|
||||||
- entity: script.zigbee2mqtt_remove
|
- entity: script.zigbee2mqtt_remove
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user