diff --git a/dashboards/minimal/dashboard.yaml b/dashboards/minimal/dashboard.yaml index 9470f37..c26275d 100644 --- a/dashboards/minimal/dashboard.yaml +++ b/dashboards/minimal/dashboard.yaml @@ -6,3 +6,4 @@ - !include views/lys.yaml - !include views/kokken.yaml - !include views/stue.yaml + - !include views/el.yaml diff --git a/dashboards/minimal/views/el.yaml b/dashboards/minimal/views/el.yaml new file mode 100644 index 0000000..6daa4c4 --- /dev/null +++ b/dashboards/minimal/views/el.yaml @@ -0,0 +1,8 @@ +title: El +path: el +cards: + - type: custom:decluttering-card + template: subpanel_title_template + variables: + - title: El + - alignment: start diff --git a/dashboards/minimal/views/hjem.yaml b/dashboards/minimal/views/hjem.yaml index d569332..d02fbad 100644 --- a/dashboards/minimal/views/hjem.yaml +++ b/dashboards/minimal/views/hjem.yaml @@ -24,6 +24,13 @@ tap_action: action: navigate navigation_path: varme + - type: template + icon: mdi:flash + content: El + icon_color: green + tap_action: + action: navigate + navigation_path: el alignment: center style: | :host { @@ -69,6 +76,7 @@ if (entity.state > 10 && entity.state < 50) return "color: yellow"; return "color: white"; show_icon: true + show_state: true name: Mikroovn - entity: sensor.opvaskemaskine_energi hide_if: @@ -76,6 +84,7 @@ - condition: below value: 5 show_icon: true + show_state: true name: Opvasker icon: template: @@ -83,11 +92,11 @@ return "mdi:dishwasher"; styles: | return "color: white"; - - style: | - ha-card .entities-info-row { - padding: 5px 20px 5px; - } + card_mod: + style: | + ha-card .entities-info-row { + padding: 5px 20px 5px; + } - type: custom:room-card title: Stue entity: light.stue_gruppe @@ -99,6 +108,25 @@ info_entities: - entity: sensor.wavin_9000_temperature_stue show_icon: false + entities: + - entity: sensor.tv_baenk_energi + name: Tv Bænk + hide_if: + conditions: + - condition: below + value: 1 + icon: + template: + icon: > + return "mdi:television"; + styles: | + return "color: white"; + show_icon: true + show_state: true + tap_action: + action: more-info + entity: switch.tv_baenk + card_mod: style: | ha-card .entities-info-row { diff --git a/known_devices.yaml b/known_devices.yaml index aec40e9..f6dea61 100644 --- a/known_devices.yaml +++ b/known_devices.yaml @@ -321,3 +321,10 @@ icon: picture: track: true + +58_6c_25_4d_51_6b: + name: 58_6c_25_4d_51_6b + mac: 58:6C:25:4D:51:6B + icon: + picture: + track: true