home-assistant/ui_lovelace_minimalist/dashboard/views/laundry.yaml
2022-07-23 11:14:56 +02:00

85 lines
2.9 KiB
YAML

title: "Tvättstuga"
path: "laundry"
cards:
- type: horizontal-stack
cards:
- type: "custom:button-card"
template: chip_back
variables:
ulm_chip_back_path: home
- type: "custom:button-card"
template: card_title
name: Tvättstuga
- type: horizontal-stack
cards:
- type: 'custom:button-card'
template: card_power_outlet
variables:
ulm_card_power_outlet_icon: "mdi:air-humidifier"
ulm_card_power_outlet_consumption_sensor: sensor.dehumidifier_power
ulm_card_power_outlet_name: Luftavfuktare
entity: switch.dehumidifier
- type: 'custom:button-card'
template: card_graph
entity: sensor.dehumidifier_power
variables:
ulm_card_graph_color: "var(--google-red)"
ulm_card_graph_name: Watt
ulm_card_graph_entity: sensor.dehumidifier_power
ulm_card_graph_type: fill
ulm_card_graph_hours: 24
- type: horizontal-stack
cards:
- type: 'custom:button-card'
template: card_graph
entity: sensor.laundry_temperature
variables:
ulm_card_graph_color: "var(--google-green)"
ulm_card_graph_name: Temperatur
ulm_card_graph_entity: sensor.laundry_temperature
ulm_card_graph_type: fill
ulm_card_graph_hours: 24
- type: 'custom:button-card'
template: card_graph
entity: sensor.laundry_humidity
variables:
ulm_card_graph_color: "var(--google-blue)"
ulm_card_graph_name: Luftfuktighet
ulm_card_graph_entity: sensor.laundry_humidity
ulm_card_graph_type: fill
ulm_card_graph_hours: 24
- type: 'custom:button-card'
template: card_title
label: 'Sensors'
- type: horizontal-stack
cards:
- type: 'custom:button-card'
template: card_binary_sensor_alert
variables:
ulm_card_binary_sensor_alert: true
ulm_show_last_changed: true
ulm_card_binary_sensor_alert_name: Läckage
ulm_card_binary_sensor_alert_icon: mdi:water-outline
entity: binary_sensor.inner_storage_water_leak
- type: 'custom:button-card'
template: card_battery
entity: sensor.inner_storage_battery
variables:
ulm_card_battery_charger_type_entity_id: sensor.inner_storage_battery
ulm_card_battery_battery_level_danger: 10
ulm_card_battery_battery_level_warning: 50
ulm_card_battery_name: Läcksensor
- type: horizontal-stack
cards:
- type: 'custom:button-card'
template: card_battery
entity: sensor.laundry_battery
variables:
ulm_card_battery_charger_type_entity_id: sensor.laundry_battery
ulm_card_battery_battery_level_danger: 10
ulm_card_battery_battery_level_warning: 50
ulm_card_battery_name: Xiaomi