Refine dashboards and vacation automations
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
views: !include_dir_list dashboards/views
|
|
||||||
|
|
||||||
|
|
||||||
@@ -15,65 +15,93 @@ sections:
|
|||||||
entity: media_player.stue
|
entity: media_player.stue
|
||||||
name: Sonos Stue
|
name: Sonos Stue
|
||||||
|
|
||||||
|
- type: media-control
|
||||||
|
entity: media_player.alrum
|
||||||
|
name: Sonos Alrum
|
||||||
|
|
||||||
- type: media-control
|
- type: media-control
|
||||||
entity: media_player.denon_avr_x2300w
|
entity: media_player.denon_avr_x2300w
|
||||||
name: Denon AVR
|
name: Denon AVR
|
||||||
|
|
||||||
- type: entities
|
|
||||||
title: Afspilningsinfo
|
|
||||||
entities:
|
|
||||||
- media_player.stue
|
|
||||||
- media_player.denon_avr_x2300w
|
|
||||||
|
|
||||||
|
# 💡 Lys (kompakt + alle lys)
|
||||||
# 💡 Lys
|
|
||||||
- type: grid
|
- type: grid
|
||||||
|
columns: 3
|
||||||
|
square: false
|
||||||
cards:
|
cards:
|
||||||
- type: heading
|
- type: heading
|
||||||
heading: Lys
|
heading: Lys
|
||||||
|
|
||||||
- type: light
|
- type: tile
|
||||||
entity: light.stue
|
entity: light.livingroom
|
||||||
name: Stue Lys
|
name: Alle lys
|
||||||
|
icon: mdi:lightbulb-group
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
|
||||||
- type: light
|
- type: tile
|
||||||
entity: light.stue_spot
|
entity: light.raket
|
||||||
name: Spot
|
name: Raket
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
|
||||||
- type: light
|
- type: tile
|
||||||
entity: light.stue_lysekrone
|
entity: light.spisebord
|
||||||
name: Lysekrone
|
name: Spisebord
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
|
||||||
- type: light
|
- type: tile
|
||||||
entity: light.stue_indirekte
|
entity: light.syd
|
||||||
name: Indirekte
|
name: Syd
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
|
||||||
|
- type: tile
|
||||||
|
entity: light.panton
|
||||||
|
name: Panton
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
|
||||||
|
- type: tile
|
||||||
|
entity: light.pendle
|
||||||
|
name: Pendle
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
|
||||||
|
|
||||||
# 🪟 Gardiner
|
# 🪟 Gardiner (kompakt)
|
||||||
- type: grid
|
- type: grid
|
||||||
|
columns: 3
|
||||||
|
square: false
|
||||||
cards:
|
cards:
|
||||||
- type: heading
|
- type: heading
|
||||||
heading: Gardiner
|
heading: Gardiner
|
||||||
|
|
||||||
- type: cover
|
- type: tile
|
||||||
|
entity: cover.alle_gardiner
|
||||||
|
name: Alle
|
||||||
|
icon: mdi:blinds
|
||||||
|
|
||||||
|
- type: tile
|
||||||
entity: cover.hojre
|
entity: cover.hojre
|
||||||
name: Højre
|
name: Højre
|
||||||
|
|
||||||
- type: cover
|
- type: tile
|
||||||
entity: cover.midt
|
entity: cover.midt
|
||||||
name: Midt
|
name: Midt
|
||||||
|
|
||||||
- type: cover
|
- type: tile
|
||||||
entity: cover.syd
|
entity: cover.syd
|
||||||
name: Syd
|
name: Syd
|
||||||
|
|
||||||
- type: cover
|
- type: tile
|
||||||
entity: cover.venstre
|
entity: cover.venstre
|
||||||
name: Venstre
|
name: Venstre
|
||||||
|
|
||||||
- type: cover
|
- type: tile
|
||||||
entity: cover.terrasse_dor
|
entity: cover.terrasse_dor
|
||||||
name: Terrasse dør
|
name: Terrasse
|
||||||
|
|
||||||
|
|
||||||
# 🌡️ Temperatur
|
# 🌡️ Temperatur
|
||||||
@@ -83,13 +111,5 @@ sections:
|
|||||||
heading: Temperatur
|
heading: Temperatur
|
||||||
|
|
||||||
- type: tile
|
- type: tile
|
||||||
entity: sensor.sovevaerelse_stue_temperatur
|
entity: sensor.stue_motion_temperatur
|
||||||
name: Temperatur
|
name: Temperatur
|
||||||
|
|
||||||
- type: tile
|
|
||||||
entity: sensor.sovevaerelse_stue_luftfugtighed
|
|
||||||
name: Luftfugtighed
|
|
||||||
|
|
||||||
- type: tile
|
|
||||||
entity: sensor.sovevaerelse_stue_carbon_dioxide
|
|
||||||
name: CO₂
|
|
||||||
|
|||||||
@@ -1,26 +1,27 @@
|
|||||||
alias: Vacation Mode - Stop ved slutdato
|
- alias: Vacation Mode - Stop ved slutdato
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time_pattern
|
- platform: time_pattern
|
||||||
minutes: "/1"
|
minutes: "/1"
|
||||||
|
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.vacation_mode
|
entity_id: input_boolean.vacation_mode
|
||||||
state: "on"
|
state: "on"
|
||||||
|
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: >
|
value_template: >
|
||||||
{% set dt = states('input_datetime.vacation_end') %}
|
{% set dt = states('input_datetime.vacation_end') %}
|
||||||
{{ dt not in ['unknown','unavailable',''] and
|
{{ dt not in ['unknown','unavailable',''] and
|
||||||
now() >= as_datetime(dt) }}
|
now() >= as_datetime(dt) }}
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- input_boolean.vacation_mode
|
- input_boolean.vacation_mode
|
||||||
- input_boolean.presence_simulation
|
- input_boolean.presence_simulation
|
||||||
|
|
||||||
- service: media_player.media_stop
|
- service: media_player.media_stop
|
||||||
target:
|
target:
|
||||||
entity_id: media_player.kokken
|
entity_id:
|
||||||
|
- media_player.kokken
|
||||||
|
|||||||
@@ -1,15 +1,16 @@
|
|||||||
alias: Vacation Mode - Manuel stop
|
- alias: Vacation Mode - Manuel stop
|
||||||
trigger:
|
trigger:
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: input_boolean.vacation_mode
|
entity_id: input_boolean.vacation_mode
|
||||||
to: "off"
|
to: "off"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: input_boolean.presence_simulation
|
entity_id:
|
||||||
|
- input_boolean.presence_simulation
|
||||||
- service: media_player.media_stop
|
|
||||||
target:
|
|
||||||
entity_id: media_player.kokken
|
|
||||||
|
|
||||||
|
- service: media_player.media_stop
|
||||||
|
target:
|
||||||
|
entity_id:
|
||||||
|
- media_player.kokken
|
||||||
|
|||||||
@@ -1,11 +1,5 @@
|
|||||||
# ui-lovelace.yaml
|
# ui-lovelace.yaml
|
||||||
|
|
||||||
# 1. Resources til custom cards
|
|
||||||
resources:
|
|
||||||
- url: /hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/button-card/button-card.js
|
|
||||||
type: module
|
|
||||||
|
|
||||||
|
|
||||||
# 2. Selve views
|
# 2. Selve views
|
||||||
|
|||||||
Reference in New Issue
Block a user