diff --git a/dashboards/views/04b_sovevaerelse.yaml b/dashboards/views/04b_sovevaerelse.yaml new file mode 100644 index 0000000..209c896 --- /dev/null +++ b/dashboards/views/04b_sovevaerelse.yaml @@ -0,0 +1,143 @@ +title: Sovevaerelse +path: sovevaerelse +icon: mdi:bed-king-outline +type: sections + +sections: + - type: grid + cards: + - type: heading + heading: Musik + + - type: media-control + entity: media_player.sovevaerelse + name: Sonos Sovevaerelse + + - type: grid + columns: 2 + square: false + cards: + - type: custom:button-card + name: DR P3 + icon: mdi:radio + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.sovevaerelse + data: + source: "0 DR P3" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: custom:button-card + name: Family Mix + icon: mdi:account-music + tap_action: + action: perform-action + perform_action: media_player.select_source + target: + entity_id: media_player.sovevaerelse + data: + source: "1 Family Mix" + styles: + card: + - height: 52px + - padding: 6px 8px + icon: + - width: 18px + name: + - font-size: 11px + + - type: grid + cards: + - type: heading + heading: Lysautomatik + + - type: tile + entity: automation.lys_sovevaerelse_dag_arbejdsdag + name: Dag (arbejdsdag) + tap_action: + action: toggle + + - type: tile + entity: automation.lys_sovevaerelse_dag_ikke_arbejdsdag + name: Dag (ikke arbejdsdag) + tap_action: + action: toggle + + - type: tile + entity: automation.lys_sovevaerelse_aften + name: Aften + tap_action: + action: toggle + + - type: tile + entity: automation.lys_sovevaerelse_godnat + name: Godnat 1 + tap_action: + action: toggle + + - type: tile + entity: automation.lys_sovevaerelse_godnat_2 + name: Godnat 2 + tap_action: + action: toggle + + - type: tile + entity: automation.lys_sovevaerelse_godnat_3 + name: Godnat 3 + tap_action: + action: toggle + + - type: tile + entity: automation.sluk_lys_i_sovevaerelse + name: Sluk uden bevaegelse + tap_action: + action: toggle + + - type: grid + cards: + - type: heading + heading: Alarm og Wakeup + + - type: tile + entity: automation.turn_on_alarms_soft_wakeup + name: Soft wakeup automatik + tap_action: + action: toggle + + - type: tile + entity: automation.turn_on_alarms_andreas + name: Alarm automatik (hverdage) + tap_action: + action: toggle + + - type: tile + entity: automation.turn_on_alarms_andreas_saturdays + name: Alarm automatik (loerdag) + tap_action: + action: toggle + + - type: grid + cards: + - type: heading + heading: Klima (Netatmo) + + - type: tile + entity: sensor.sovevaerelse_temperatur + name: Temperatur + + - type: tile + entity: sensor.sovevaerelse_luftfugtighed + name: Luftfugtighed + + - type: tile + entity: sensor.sovevaerelse_carbon_dioxide + name: CO2