Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kiosk_mode: null
- styles:
- grid:
- - grid-template-areas: |
- "icon circle"
- "n n"
- "s s"
- - grid-template-columns: repeat(2, 1fr)
- - grid-template-rows: auto repeat(2, min-content)
- - gap: 2%
- - align-items: start
- name:
- - justify-self: start
- - line-height: 115%
- state:
- - justify-self: start
- - line-height: 115%
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- - '--mdc-ripple-color': |
- [[[
- return variables.consider_on ?
- 'rgb(0, 0, 0)' :
- 'rgba(255, 255, 255, 0.3)';
- ]]]
- - color: |
- [[[
- return variables.consider_on ?
- 'rgba(0, 0, 0, 0.6)' :
- 'rgba(255, 255, 255, 0.3)';
- ]]]
- - background-color: |
- [[[
- return variables.consider_on ?
- 'rgba(255, 255, 255, 0.8)' :
- 'rgba(115, 115, 115, 0.2)';
- ]]]
- extra_styles: |
- [[[
- if (entity) {
- let hs = entity.attributes.hs_color == undefined,
- h = hs || entity.attributes.hs_color[0],
- s = hs || entity.attributes.hs_color[1],
- l_min = 28,
- l_max = 48,
- l_calc =
- entity.attributes.brightness / 2.54 * (l_max - l_min) / 100 + l_min;
- var light_color =
- entity.attributes.color_mode === 'color_temp'
- ? `hsl(204, 58%, ${l_calc}%);`
- : `hsl(${h}, ${s}%, ${l_calc}%);`;
- }
- return `
- svg {
- --light-color:
- ${ variables.state === 'on' && entity.attributes.brightness != undefined
- ? light_color
- : variables.state === 'on' && entity.attributes.brightness == undefined
- ? 'var(--state-icon-active-color);'
- : 'var(--state-icon-color);'
- }
- }
- #container {
- text-align: left !important;
- }
- #name, #state {
- font-size: 1.34vw;
- letter-spacing: 0.05vw;
- }
- /* portrait */
- @media screen and (max-width: 1200px) {
- #name, #state {
- font-size: 2vw;
- letter-spacing: 0.05vw;
- }
- }
- /* phone */
- @media screen and (max-width: 800px) {
- #name, #state {
- font-size: 3.1vw;
- letter-spacing: 0.12vw;
- }
- }
- @keyframes card_bounce {
- 0% {
- transform: scale(1);
- }
- 15% {
- transform: scale(0.9);
- }
- 25% {
- transform: scale(1);
- }
- 30% {
- transform: scale(0.98);
- }
- 100% {
- transform: scale(1);
- }
- }
- `
- ]]]
- views:
- - type: custom:grid-layout
- path: 0
- layout:
- grid-gap: var(--custom-layout-card-padding)
- grid-template-columns: repeat(4, 1fr) 0
- grid-template-rows: 0 repeat(2, fit-content(100%)) 0fr
- grid-template-areas: |
- "sidebar . . . ."
- "sidebar esszimmer wohnzimmer aussen ."
- "sidebar media heizung familie ."
- "sidebar footer footer footer ."
- mediaquery:
- '(max-width: 800px)':
- grid-gap: calc(var(--custom-layout-card-padding) * 1.7)
- grid-template-columns: 0 repeat(2, 1fr) 0
- grid-template-rows: 0 repeat(5, fit-content(100%)) 0fr
- grid-template-areas: |
- ". . . ."
- ". sidebar sidebar ."
- ". esszimmer wohnzimmer ."
- ". aussen heizung ."
- ". media familie ."
- ". footer footer ."
- ". . . ."
- '(max-width: 1200px)':
- grid-gap: var(--custom-layout-card-padding)
- grid-template-columns: repeat(3, 1fr) 0
- grid-template-rows: 0 repeat(3, fit-content(100%)) 0fr
- grid-template-areas: |
- "sidebar . . ."
- "sidebar esszimmer wohnzimmer ."
- "sidebar aussen heizung ."
- "sidebar media familie ."
- "sidebar footer footer ."
- "sidebar . . ."
- badges: []
- cards:
- - type: grid
- title: ⠀
- cards:
- - type: custom:simple-clock-card
- use_military: true
- hide_seconds: true
- font_size: 6rem
- padding_size: 1px
- style: |
- ha-card {
- height: 18px;
- box-shadow: none;
- background: transparent;
- font-family: SF Display;
- font-size: 25px;
- line-height: 15px;
- font-weight: 300;
- letter-spacing: 0.06vw;
- color: #6a7377;
- }
- :host {
- --mini-media-player-accent-color: white;
- }
- square: false
- columns: 1
- - type: markdown
- style: |
- ha-card {
- background-color: rgba(0,0,0,0) !important;
- box-shadow: none;
- padding-right: 10px;
- font-family: SF Display;
- font-size: 15px;
- line-height: var(--sidebar-line-height);
- font-weight: 10;
- letter-spacing: 0.06vw;
- color: #6a7377;
- content: |-
- <center>
- <h3>
- {{ now().strftime('%d.%m.%Y') }}
- </h3>
- </center>
- - type: custom:weather-card
- entity: weather.dark_sky
- current: true
- details: false
- forecast: false
- tap_action:
- action: none
- style: |
- ha-card {
- background-color:transparent;
- box-shadow: none;
- font-size: 0.65vw!important;
- font-family: SF Display;
- line-height: var(--sidebar-line-height);
- font-weight: 10;
- letter-spacing: 0.06vw;
- color: #6a7377!important;
- }
- number_of_forecasts: '5'
- - type: markdown
- style: |
- ha-card {
- background-color: rgba(0,0,0,0) !important;
- box-shadow: none;
- padding-right: 10px;
- font-family: SF Display;
- font-size: 15px;
- line-height: 13px;
- font-weight: 20;
- letter-spacing: 0.05vw!important;
- color: #6a7377;
- content: >-
- <h4>
- {{states.sensor.open_windows.state}}
- {{states.sensor.open_doors.state}}
- </h4>
- <h4><br>
- {{ states.sensor.abfallnaechster.attributes.values() | first |
- replace("papier","Papiermüll") | replace("bio","Biomüll") |
- replace("gelbersack", "Gelber Sack") | replace("rest", "Restmüll")
- |
- replace("papier","Papiermüll") }}
- </h4>
- <h4>
- {{ states.sensor.abfallnaechster.attributes | first |
- as_timestamp | timestamp_custom("%d.%m.%Y") }}
- <h4><br>
- Spritpreis
- </h4>
- <h4>
- {{states.sensor.tankerkoenig_star_tankstelle_e5.state}}
- - type: custom:mini-media-player
- padding-size: 80px
- entity: media_player.wohnzimmer_2_2
- style: |
- ha-card {
- background-color:transparent;
- box-shadow: none;
- font-size: 0.85vw!important;
- }
- toggle_power: false
- volume_stateless: false
- group: true
- source: icon
- sound_mode: icon
- replace_mute: stop
- name: Sonos
- icon: mdi:music-circle-outline
- hide:
- volume: true
- source: true
- controls: true
- power: true
- info: scroll
- artwork: none
- square: false
- columns: 1
- view_layout:
- grid-area: sidebar
- - type: grid
- cards:
- - type: custom:button-card
- entity: light.cabinettw_z3_01
- aspect_ratio: 1
- name: Küche
- color_type: card
- show_state: true
- hold_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Küche
- hide_header: false
- style:
- hui-light-popup-card:
- $hui-light-entity-card$: |
- #states {
- padding-top: 0.5em;
- padding-bottom: 1.2em;
- borderRadius: 1.7em;
- }
- card:
- type: custom:light-popup-card
- fullscreen: false
- entity: light.cabinettw_z3_01
- icon: none
- displayType: slider
- sliderColoredByLight: true
- actionsInARow: 2
- offStates: null
- brightnessWidth: 130px
- brightnessHeight: 320px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: rgba(25, 25, 25, 0.9)
- actions:
- - action: fire-dom-event
- color: '#FDCA64'
- name: Farbe
- browser_mod:
- command: popup
- title: Farbe
- card:
- type: custom:light-entity-card
- entity: light.cabinettw_z3_01
- hide_header: true
- brightness: true
- color_temp: true
- white_value: true
- custom_fields:
- Circle: >
- [[[ {
- const temp = Math.round(entity.attributes.brightness / 2.64);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}%</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-kitchen-room-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-kitchen-room-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: light.wohnzimmer_2
- aspect_ratio: 1
- name: Tresen
- color_type: card
- show_state: true
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-cupboard-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-cupboard-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: light.esstisch
- aspect_ratio: 1
- name: Esstisch
- color_type: card
- show_state: true
- hold_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Esstisch
- card:
- type: custom:light-popup-card
- fullscreen: false
- entity: light.esstisch
- icon: none
- displayType: slider
- sliderColoredByLight: true
- actionsInARow: 1
- brightnessWidth: 130px
- brightnessHeight: 360px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: rgba(25, 25, 25, 0.9)
- actions:
- - action: fire-dom-event
- color: '#FDCA64'
- name: Farbe
- browser_mod:
- command: popup
- title: []
- card:
- type: custom:light-entity-card
- entity: light.esstisch
- hide_header: true
- brightness: true
- color_temp: true
- custom_fields:
- Circle: >
- [[[ {
- const temp = Math.round(entity.attributes.brightness / 2.64);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}%</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-beleuchtung-50.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-beleuchtung-50.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: light.esszimmer_1
- aspect_ratio: 1
- name: Esszimmer
- color_type: card
- show_state: true
- hold_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Esszimmer
- card:
- type: custom:light-popup-card
- fullscreen: false
- entity: light.esszimmer_1
- icon: none
- displayType: slider
- sliderColoredByLight: true
- actionsInARow: 1
- brightnessWidth: 100px
- brightnessHeight: 300px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: rgba(25, 25, 25, 0.9)
- actions:
- - action: fire-dom-event
- color: '#FDCA64'
- name: Farbe
- browser_mod:
- command: popup
- title: []
- card:
- type: custom:light-entity-card
- entity:
- - light.esszimmer
- hide_header: true
- brightness: true
- color_temp: true
- style: |
- ha-card {
- box-shadow: none;
- background: transparent!important;
- }
- custom_fields:
- Circle: >
- [[[ {
- const temp = Math.round(entity.attributes.brightness / 2.64);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}%</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-dining-room-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-dining-room-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- title: Esszimmer
- columns: 2
- view_layout:
- grid-area: esszimmer
- - type: grid
- cards:
- - type: custom:button-card
- entity: light.fernseher
- aspect_ratio: 1
- name: Fernseher
- color_type: card
- show_state: true
- hold_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Esszimmer
- card:
- type: custom:light-popup-card
- fullscreen: false
- entity: light.fernseher
- icon: none
- displayType: slider
- sliderColoredByLight: true
- actionsInARow: 1
- offStates: null
- brightnessWidth: 130px
- brightnessHeight: 320px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: rgba(25, 25, 25, 0.9)
- actions:
- - action: fire-dom-event
- color: '#FDCA64'
- name: Farbe
- browser_mod:
- command: popup
- title: []
- card:
- type: custom:light-entity-card
- entity:
- - light.fernseher
- hide_header: true
- brightness: true
- color_temp: true
- custom_fields:
- Circle: >
- [[[ {
- const temp = Math.round(entity.attributes.brightness / 2.64);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}%</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-scoop-beleuchtung-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-scoop-beleuchtung-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - value: unavailable
- entity_picture: \local\img\icons8-achtung-48.png
- color: rgba(255,0,0,0.8)
- - type: custom:button-card
- entity: light.licht_vitrine
- aspect_ratio: 1
- name: Vitrine
- color_type: card
- show_state: true
- hold_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Vitrine
- card:
- type: custom:light-popup-card
- fullscreen: false
- entity: light.licht_vitrine
- icon: none
- displayType: slider
- sliderColoredByLight: true
- actionsInARow: 1
- offStates: null
- brightnessWidth: 130px
- brightnessHeight: 320px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: rgba(25, 25, 25, 0.9)
- actions:
- - action: fire-dom-event
- color: '#FDCA64'
- name: Farbe
- browser_mod:
- command: popup
- title: []
- card:
- type: custom:light-entity-card
- entity:
- - light.licht_vitrine
- hide_header: true
- brightness: true
- color_temp: true
- custom_fields:
- Circle: >
- [[[ {
- const temp = Math.round(entity.attributes.brightness / 2.64);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}%</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-schrank-mit-schiebetür-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-schrank-mit-schiebetür-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: light.color_temperature_light_5
- aspect_ratio: 1
- name: Schrank
- color_type: card
- show_state: true
- hold_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Esszimmer
- card:
- type: custom:light-popup-card
- fullscreen: false
- entity: light.color_temperature_light_5
- icon: none
- displayType: slider
- sliderColoredByLight: true
- actionsInARow: 1
- offStates: null
- brightnessWidth: 130px
- brightnessHeight: 320px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: rgba(25, 25, 25, 0.9)
- actions:
- - action: fire-dom-event
- color: '#FDCA64'
- name: Farbe
- browser_mod:
- command: popup
- title: []
- card:
- type: custom:light-entity-card
- entity:
- - light.color_temperature_light_5
- hide_header: true
- brightness: true
- color_temp: true
- custom_fields:
- Circle: >
- [[[ {
- const temp = Math.round(entity.attributes.brightness / 2.64);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}%</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-lampe-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-lampe-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: light.wohnzimmerschrank
- aspect_ratio: 1
- name: Tannenbaum
- color_type: card
- show_state: true
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Geschirr:
- - position: absolute
- - left: 60%
- - top: 10%
- - width: 60%
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-weihnachtsbaum-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-weihnachtsbaum-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- title: Wohnzimmer
- columns: 2
- view_layout:
- grid-area: wohnzimmer
- - type: grid
- cards:
- - type: custom:button-card
- entity: script.1634564870887
- aspect_ratio: 1
- name: Haustür öffnen
- color_type: card
- show_state: true
- show_entity_picture: true
- tap_action:
- action: call-service
- service: script.1634564870887
- confirmation:
- text: Haustür öffnen ?
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-schloss-orientierung-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-schloss-orientierung-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: lock.haustur
- aspect_ratio: 1
- name: Haustür
- tap_action:
- action: toggle
- color_type: card
- show_state: true
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- state:
- - value: locked
- entity_picture: \local\img\icons8-sperren-48.png
- color: rgba(255,255,255,0.9)
- - value: unlocked
- entity_picture: \local\img\icons8-entsperren-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: camera.vorderseite
- camera_view: live
- aspect_ratio: 1
- name: Kamera
- color_type: card
- show_state: true
- tap_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Eingang
- style:
- hui-vertical-stack-card:
- $hui-entities-card$: |
- #states {
- padding-top: 0.5em;
- padding-bottom: 1.2em;
- }
- card:
- type: vertical-stack
- cards:
- - type: picture-entity
- entity: camera.vorderseite
- camera_view: live
- - type: entities
- card_mod:
- class: content
- entities:
- - entity: binary_sensor.presence_47
- secondary_info: last-changed
- name: Bewegung Eingang
- - entity: sensor.carport_temperature_2
- name: Temperatur
- - type: custom:mini-graph-card
- entities:
- - entity: sensor.carport_temperature_2
- line_width: 6
- hour24: true
- group: true
- lign_icon: left
- align_state: right
- align_header: left
- hours_to_show: 24
- show:
- fill: fade
- icon: false
- name: false
- state: false
- name_adaptive_color: false
- labels: hover
- legend: false
- tap_action:
- action: none
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- state:
- - value: 'on'
- entity_picture: \local\img\icons8-außenkamera-48.png
- color: rgba(255,255,255,0.9)
- - value: idle
- entity_picture: \local\img\icons8-außenkamera-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: alarm_control_panel.home
- aspect_ratio: 1
- show_title: false
- tap_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Alarm
- style:
- hui-vertical-stack-card: null
- $hui-entities-card$: |
- #states {
- padding-top: 0.5em;
- padding-bottom: 1.2em;
- }
- card:
- type: vertical-stack
- cards:
- - type: custom:alarmo-card
- entity: alarm_control_panel.home
- keep_keypad_visible: true
- show_entity_picture: true
- color_type: card
- show_state: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- state:
- - value: armed_away
- entity_picture: \local\img\icons8-gesichert-durch-alarmanlage-48.png
- color: rgba(255,255,255,0.9)
- - value: armed_home
- entity_picture: \local\img\icons8-gesichert-durch-alarmanlage-48.png
- color: rgba(255,255,255,0.9)
- - value: pending
- entity_picture: \local\img\icons8-gesichert-durch-alarmanlage-48.png
- color: rgba(255,255,255,0.9)
- - value: triggered
- entity_picture: \local\img\icons8-gesichert-durch-alarmanlage-48.png
- color: rgba(255,255,255,0.9)
- - value: arming
- entity_picture: \local\img\icons8-gesichert-durch-alarmanlage-48.png
- - value: disarmed
- entity_picture: \local\img\icons8-gesichert-durch-alarmanlage-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- title: Aussenbereich
- columns: 2
- view_layout:
- grid-area: aussen
- - type: grid
- cards:
- - type: custom:button-card
- entity: media_player.wohnzimmer_2_2
- aspect_ratio: 1
- tap_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Sonos
- card:
- type: custom:media_player-popup-card
- fullscreen: false
- sliderWidth: 130px
- sliderHeight: 320px
- borderRadius: 1.7em
- sliderColor: '#c7c7c7'
- sliderTrackColor: rgba(25, 25, 25, 0.9)
- entity: media_player.wohnzimmer_2_2
- actions:
- - service: media_player.media_previous_track
- service_data:
- entity_id: this
- name: previous
- icon: mdi:skip-previous
- - service: media_player.media_play_pause
- service_data:
- entity_id: this
- name: play/pause
- icon: mdi:play-pause
- - service: media_player.media_next_track
- service_data:
- entity_id: this
- name: next
- icon: mdi:skip-next
- name: Sonos
- color_type: card
- show_state: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - padding-bottom: 25px
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Playing:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: playing
- entity_picture: \local\img\icons8-sonos-speaker-50.png
- color: rgba(255,255,255,0.9)
- - value: paused
- entity_picture: \local\img\icons8-sonos-speaker-50.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: switch.xbox_one
- aspect_ratio: 1
- color_type: card
- show_state: true
- name: XBox
- show_title: false
- tap_action:
- action: toggle
- hold_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Xbox One
- card:
- type: custom:stack-in-card
- cards:
- - entity: media_player.xboxone
- type: custom:mini-media-player
- artwork: material
- icon: mdi:microsoft-xbox-controller
- name: Spiel
- group: true
- scale: 0.8
- hide:
- volume: true
- controls: true
- power: true
- info: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- state:
- - value: 'on'
- color: rgba(255,255,255,0.9)
- entity_picture: \local\img\icons8-xbox-48.png
- - value: 'off'
- color: rgba(65,65,63,0.8)
- entity_picture: \local\img\icons8-xbox-48.png
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: switch.sky_q
- show_title: false
- aspect_ratio: 1
- tap_action:
- action: toggle
- hold_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Sky Q
- card:
- type: custom:stack-in-card
- cards:
- - entity: media_player.sky_q
- type: custom:mini-media-player
- artwork: artwork
- icon: mdi:television-classic
- name: SKY Q
- group: true
- scale: 1
- hide:
- volume: true
- controls: true
- power: true
- info: false
- show_entity_picture: true
- color_type: card
- show_state: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- state:
- - value: 'on'
- color: rgba(255,255,255,0.9)
- entity_picture: \local\img\icons8-sky-48.png
- - value: 'off'
- color: rgba(65,65,63,0.8)
- entity_picture: \local\img\icons8-sky-48.png
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:swipe-card
- title: Lieblingssender
- aspect_ratio: 1
- show_title: false
- parameters:
- effect: coverflow
- grabCursor: true
- centeredSlides: true
- slidesPerView: auto
- coverflowEffect:
- rotate: 50
- stretch: 0
- depth: 100
- modifier: 1
- slideShadows: true
- pagination:
- type: none
- cards:
- - type: custom:button-card
- entity: script.1633693084602
- entity_picture: \local\img\icon_512-80s.png
- aspect_ratio: 1/1
- tap_action:
- action: call-service
- service: script.1633693084602
- name: 80s80s
- color_type: card
- show_state: false
- show_name: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - padding-bottom: 25px
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 0px
- - padding-top: 0px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 0px
- - padding-bottom: 0px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 100%
- - border-radius: var(--custom-button-card-border-radius)
- - type: custom:button-card
- entity: script.ndr2
- entity_picture: \local\img\icon_512-ndr2.png
- aspect_ratio: 1/1
- tap_action:
- action: call-service
- service: script.ndr2
- name: NDR 2
- color_type: card
- show_state: false
- show_name: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - padding-bottom: 25px
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 0px
- - padding-top: 0px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 0px
- - padding-bottom: 0px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 100%
- - border-radius: var(--custom-button-card-border-radius)
- - type: custom:button-card
- entity: script.radio_hamburg
- entity_picture: \local\img\icon_512-RHH.png
- aspect_ratio: 1/1
- tap_action:
- action: call-service
- service: script.radio_hamburg
- name: Radio Hamburg
- color_type: card
- show_state: false
- show_name: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - padding-bottom: 25px
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 0px
- - padding-top: 0px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 0px
- - padding-bottom: 0px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 100%
- - border-radius: var(--custom-button-card-border-radius)
- - type: custom:button-card
- entity: script.n_joy
- entity_picture: \local\img\icon_512-Njoy.png
- aspect_ratio: 1/1
- tap_action:
- action: call-service
- service: script.n_joy
- name: Radio Hamburg
- color_type: card
- show_state: false
- show_name: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - padding-bottom: 25px
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 0px
- - padding-top: 0px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 0px
- - padding-bottom: 0px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 100%
- - border-radius: var(--custom-button-card-border-radius)
- - type: custom:button-card
- entity: script.spotify_mixtape
- entity_picture: \local\img\icons8-spotify.PNG
- aspect_ratio: 1/1
- tap_action:
- action: call-service
- service: script.spotify_mixtape
- name: Spotify Mixtape
- color_type: card
- show_state: false
- show_name: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - padding-bottom: 25px
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 0px
- - padding-top: 0px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 0px
- - padding-bottom: 0px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 100%
- - border-radius: var(--custom-button-card-border-radius)
- - type: custom:button-card
- entity: script.fcsp_playlist
- entity_picture: \local\img\icons8-fcsp.PNG
- aspect_ratio: 1/1
- tap_action:
- action: call-service
- service: script.fcsp_playlist
- name: FCSP Playlist
- color_type: card
- show_state: false
- show_name: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - padding-bottom: 25px
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 0px
- - padding-top: 0px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 0px
- - padding-bottom: 0px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 100%
- - border-radius: var(--custom-button-card-border-radius)
- - type: custom:button-card
- entity: script.mukke
- entity_picture: \local\img\icons8-mukke.PNG
- aspect_ratio: 1/1
- tap_action:
- action: call-service
- service: script.mukke
- name: Mukke
- color_type: card
- show_state: false
- show_name: false
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - padding-bottom: 25px
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 0px
- - padding-top: 0px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 0px
- - padding-bottom: 0px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 100%
- - border-radius: var(--custom-button-card-border-radius)
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- title: Media
- columns: 2
- view_layout:
- grid-area: media
- - type: grid
- cards:
- - type: custom:button-card
- entity: person.dirk_albrecht
- aspect_ratio: 1
- color_type: card
- name: Dirk
- triggers_update:
- - sensor.dirk_last_changed
- - sensor.time
- variables:
- retain: sensor.dirk_last_changed
- show_state: true
- tap_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Dirk
- style:
- hui-vertical-stack-card:
- $hui-history-graph-card$: |
- .content {
- padding: 0.2em 1.7em 1.2em 1.7em !important;
- }
- $: |
- button-card {
- align-self: center;
- padding: 0.2em 0 2.3em 0;
- }
- $hui-map-card:
- $: |
- mwc-icon-button {
- color: var(--primary-color);
- }
- ha-card {
- border-radius: 0;
- animation: border 1s forwards;
- }
- @keyframes border {
- 0%, 100% {
- border-top: 2px solid #1a1a1a;
- }
- }
- $ha-map$: |
- #map {
- background-color: #191919 !important;
- }
- .leaflet-control-attribution {
- display: none;
- }
- .leaflet-bar a {
- background-color: rgba(47, 51, 51, 0.9) !important;
- color: #9da0a2 !important;
- }
- a.leaflet-control-zoom-in {
- border-bottom: 1px solid #181818 !important;
- }
- .leaflet-pane.leaflet-tile-pane {
- filter: contrast(85%);
- }
- card:
- type: vertical-stack
- cards:
- - type: entities
- card_mod:
- class: content
- entities:
- - entity: person.dirk_albrecht
- secondary_info: last-changed
- - type: history-graph
- entities:
- - entity: person.dirk_albrecht
- - type: glance
- show_state: false
- entities:
- - entity: device_tracker.iphone_von_dirk
- name: Router
- icon: mdi:wifi
- style: |
- state-badge {
- color: {{ '#3182b7' if is_state(config.entity, 'home') else '#3c3f3f' }};
- }
- - entity: sensor.iphone_von_dirk_connection_type
- name: Bluetooth
- icon: mdi:bluetooth
- style: |
- state-badge {
- color: {{ '#3182b7' if is_state(config.entity, 'home') else '#3c3f3f' }};
- }
- - type: custom:button-card
- name: Ton abspielen
- icon: mdi:volume-high
- tap_action:
- action: call-service
- service: notify.mobile_app_iphone_von_dirk
- service_data:
- title: Wo ist mein Iphone
- message: Hier ist mein Iphone
- data:
- push:
- sound:
- name: findmy.wav
- critical: 1
- volume: 1
- - type: map
- default_zoom: 16
- dark_mode: true
- entities:
- - device_tracker.iphone_von_dirk
- custom_fields:
- circle: |
- [[[
- if (entity) {
- let time = c => {
- let s = (c/1e3), m = (c/6e4), h = (c/36e5), d = (c/864e5);
- return s < 60 ? parseInt(s) + 's' : m < 60 ? parseInt(m) + 'm' : h < 24 ? parseInt(h) + 'h' : parseInt(d) + 'd';
- };
- let last_changed = states[variables.retain] == null || states[variables.retain].state == 'unavailable'
- ? time(Date.now() - Date.parse(states[entity.entity_id].last_changed))
- : time(Date.now() - Date.parse(states[variables.retain].state)),
- stroke = variables.state === 'home' ? 'rgba(255,0,0,1.0)' : 'none',
- fill = variables.state === 'not_home' ? 'rgba(255,0,0,1.0)' : 'none';
- const radius = 100;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform: rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray: ${circumference};stroke-dashoffset: ${circumference - last_changed / 100 * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25" r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08" style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11" text-anchor="middle" alignment-baseline="middle" dominant-baseline="middle">${last_changed}</text></svg>`; }
- ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 11px
- icon:
- - width: 40%
- - clip-path: circle()
- custom_fields:
- circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: home
- color: rgba(255,255,255,0.9)
- entity_picture: /api/image/serve/b7f3b1e168629ad56234f2b585f907c7/512x512
- - value: not_home
- color: rgba(65,65,63,0.8)
- entity_picture: /api/image/serve/b7f3b1e168629ad56234f2b585f907c7/512x512
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: person.christina_wolk
- aspect_ratio: 1
- color_type: card
- name: Christina
- triggers_update:
- - sensor.christina_last_changed
- - sensor.time
- variables:
- retain: sensor.christina_last_changed
- show_state: true
- tap_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Dirk
- style:
- hui-vertical-stack-card:
- $hui-history-graph-card$: |
- .content {
- padding: 0.2em 1.7em 1.2em 1.7em !important;
- }
- $: |
- button-card {
- align-self: center;
- padding: 0.2em 0 2.3em 0;
- }
- $hui-map-card:
- $: |
- mwc-icon-button {
- color: var(--primary-color);
- }
- ha-card {
- border-radius: 0;
- animation: border 1s forwards;
- }
- @keyframes border {
- 0%, 100% {
- border-top: 2px solid #1a1a1a;
- }
- }
- $ha-map$: |
- #map {
- background-color: #191919 !important;
- }
- .leaflet-control-attribution {
- display: none;
- }
- .leaflet-bar a {
- background-color: rgba(47, 51, 51, 0.9) !important;
- color: #9da0a2 !important;
- }
- a.leaflet-control-zoom-in {
- border-bottom: 1px solid #181818 !important;
- }
- .leaflet-pane.leaflet-tile-pane {
- filter: contrast(85%);
- }
- card:
- type: vertical-stack
- cards:
- - type: entities
- card_mod:
- class: content
- entities:
- - entity: person.christina_wolk
- secondary_info: last-changed
- - type: history-graph
- entities:
- - entity: person.christina_wolk
- - type: glance
- show_state: false
- entities:
- - entity: device_tracker.iphonevhristina_6
- name: Router
- icon: mdi:wifi
- style: |
- state-badge {
- color: {{ '#3182b7' if is_state(config.entity, 'home') else '#3c3f3f' }};
- }
- - entity: device_tracker.iphonevhristina_6
- name: Bluetooth
- icon: mdi:bluetooth
- style: |
- state-badge {
- color: {{ '#3182b7' if is_state(config.entity, 'home') else '#3c3f3f' }};
- }
- - type: custom:button-card
- name: Ton abspielen
- icon: mdi:volume-high
- tap_action:
- action: call-service
- service: notify.mobile_app_iphone_von_dirk
- service_data:
- title: Wo ist mein Iphone
- message: Hier ist mein Iphone
- data:
- push:
- sound:
- name: findmy.wav
- critical: 1
- volume: 1
- - type: map
- default_zoom: 16
- dark_mode: true
- entities:
- - device_tracker.iphonevhristina_5
- custom_fields:
- circle: |
- [[[
- if (entity) {
- let time = c => {
- let s = (c/1e3), m = (c/6e4), h = (c/36e5), d = (c/864e5);
- return s < 60 ? parseInt(s) + 's' : m < 60 ? parseInt(m) + 'm' : h < 24 ? parseInt(h) + 'h' : parseInt(d) + 'd';
- };
- let last_changed = states[variables.retain] == null || states[variables.retain].state == 'unavailable'
- ? time(Date.now() - Date.parse(states[entity.entity_id].last_changed))
- : time(Date.now() - Date.parse(states[variables.retain].state)),
- stroke = variables.state === 'home' ? 'rgba(255,0,0,1.0)' : 'none',
- fill = variables.state === 'not_home' ? 'rgba(255,0,0,1.0)' : 'none';
- const radius = 100;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform: rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray: ${circumference};stroke-dashoffset: ${circumference - last_changed / 100 * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25" r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08" style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11" text-anchor="middle" alignment-baseline="middle" dominant-baseline="middle">${last_changed}</text></svg>`; }
- ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 11px
- icon:
- - width: 40%
- - clip-path: circle()
- custom_fields:
- circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: home
- color: rgba(255,255,255,0.9)
- entity_picture: /api/image/serve/36316d04d8443179c55b829589922249/512x512
- - value: not_home
- color: rgba(65,65,63,0.8)
- entity_picture: /api/image/serve/36316d04d8443179c55b829589922249/512x512
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: person.mia_wolk
- aspect_ratio: 1
- color_type: card
- name: Mia
- triggers_update:
- - sensor.mia_last_changed
- - sensor.time
- variables:
- retain: sensor.mia_last_changed
- show_state: true
- custom_fields:
- circle: |
- [[[
- if (entity) {
- let time = c => {
- let s = (c/1e3), m = (c/6e4), h = (c/36e5), d = (c/864e5);
- return s < 60 ? parseInt(s) + 's' : m < 60 ? parseInt(m) + 'm' : h < 24 ? parseInt(h) + 'h' : parseInt(d) + 'd';
- };
- let last_changed = states[variables.retain] == null || states[variables.retain].state == 'unavailable'
- ? time(Date.now() - Date.parse(states[entity.entity_id].last_changed))
- : time(Date.now() - Date.parse(states[variables.retain].state)),
- stroke = variables.state === 'home' ? 'rgba(255,0,0,1.0)' : 'none',
- fill = variables.state === 'not_home' ? 'rgba(255,0,0,1.0)' : 'none';
- const radius = 100;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform: rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray: ${circumference};stroke-dashoffset: ${circumference - last_changed / 100 * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25" r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08" style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11" text-anchor="middle" alignment-baseline="middle" dominant-baseline="middle">${last_changed}</text></svg>`; }
- ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 11px
- icon:
- - width: 40%
- - clip-path: circle()
- custom_fields:
- circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: home
- color: rgba(255,255,255,0.9)
- entity_picture: /api/image/serve/8d30202bc3a6b04136ebb6702394f6c4/512x512
- - value: not_home
- color: rgba(65,65,63,0.8)
- entity_picture: /api/image/serve/8d30202bc3a6b04136ebb6702394f6c4/512x512
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: person.tjark_wolk
- aspect_ratio: 1
- color_type: card
- name: Tjark
- triggers_update:
- - sensor.tjark_last_changed
- - sensor.time
- variables:
- retain: sensor.tjark_last_changed
- show_state: true
- custom_fields:
- circle: |
- [[[
- if (entity) {
- let time = c => {
- let s = (c/1e3), m = (c/6e4), h = (c/36e5), d = (c/864e5);
- return s < 60 ? parseInt(s) + 's' : m < 60 ? parseInt(m) + 'm' : h < 24 ? parseInt(h) + 'h' : parseInt(d) + 'd';
- };
- let last_changed = states[variables.retain] == null || states[variables.retain].state == 'unavailable'
- ? time(Date.now() - Date.parse(states[entity.entity_id].last_changed))
- : time(Date.now() - Date.parse(states[variables.retain].state)),
- stroke = variables.state === 'home' ? 'rgba(255,0,0,1.0)' : 'none',
- fill = variables.state === 'not_home' ? 'rgba(255,0,0,1.0)' : 'none';
- const radius = 100;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform: rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray: ${circumference};stroke-dashoffset: ${circumference - last_changed / 100 * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25" r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08" style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11" text-anchor="middle" alignment-baseline="middle" dominant-baseline="middle">${last_changed}</text></svg>`; }
- ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 11px
- icon:
- - width: 40%
- - clip-path: circle()
- custom_fields:
- circle:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: home
- color: rgba(255,255,255,0.9)
- entity_picture: /api/image/serve/a80d7fb8ba5a8dec229bdb3aae94f5fc/512x512
- - value: not_home
- color: rgba(65,65,63,0.8)
- entity_picture: /api/image/serve/a80d7fb8ba5a8dec229bdb3aae94f5fc/512x512
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- title: Familie
- columns: 2
- view_layout:
- grid-area: familie
- - type: grid
- cards:
- - type: custom:button-card
- entity: climate.heizung_wohnzimmer
- aspect_ratio: 1
- tap_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Wohnzimmer
- card:
- type: vertical-stack
- cards:
- - type: thermostat
- entity: climate.heizung_wohnzimmer
- - type: entities
- card_mod:
- class: content
- entities:
- - entity: sensor.temperatur_wohnraum_2
- name: Raumtemperatur
- - entity: sensor.temperatur_wohnraum_3
- name: Luftfeuchtigkeit
- - type: custom:mini-graph-card
- entities:
- - entity: sensor.temperatur_wohnraum_2
- line_width: 6
- hour24: true
- group: true
- lign_icon: left
- align_state: right
- align_header: left
- hours_to_show: 24
- show:
- fill: fade
- icon: false
- name: false
- state: false
- name_adaptive_color: false
- labels: hover
- legend: false
- style: |
- ha-card {
- box-shadow: none;
- background: transparent!important;
- }
- name: Wohnzimmer
- color_type: card
- show_state: true
- custom_fields:
- Temperature: >
- [[[ {
- const temp = Math.round(entity.attributes.temperature);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}°</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Temperature:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: heat
- entity_picture: \local\img\icons8-heizkörper-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-heizkörper-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: climate.heizung_esszimmer
- aspect_ratio: 1
- tap_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Esszimmer
- style:
- hui-vertical-stack-card:
- $hui-entities-card$: |
- #states {
- padding-top: 0.5em;
- padding-bottom: 1.2em;
- }
- card:
- type: vertical-stack
- cards:
- - type: thermostat
- entity: climate.heizung_esszimmer
- - type: entities
- card_mod:
- class: content
- entities:
- - entity: sensor.temperatur_wohnraum_2
- name: Raumtemperatur
- - entity: sensor.temperatur_wohnraum_3
- name: Luftfeuchtigkeit
- - type: custom:mini-graph-card
- entities:
- - entity: sensor.temperatur_wohnraum_2
- line_width: 6
- hour24: true
- group: true
- lign_icon: left
- align_state: right
- align_header: left
- hours_to_show: 24
- show:
- fill: fade
- icon: false
- name: false
- state: false
- name_adaptive_color: false
- labels: hover
- legend: false
- tap_action:
- action: none
- style: |
- ha-card {
- box-shadow: none;
- background: transparent!important;
- }
- name: Esszimmer
- color_type: card
- show_state: true
- custom_fields:
- Temperature: >
- [[[ {
- const temp = Math.round(entity.attributes.temperature);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}°</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Temperature:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: heat
- entity_picture: \local\img\icons8-heizkörper-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-heizkörper-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- - type: custom:button-card
- entity: climate.heizung_gastebad
- aspect_ratio: 1
- tap_action:
- action: fire-dom-event
- browser_mod:
- command: popup
- title: Esszimmer
- card:
- type: vertical-stack
- cards:
- - type: thermostat
- entity: climate.heizung_gastebad
- - type: entities
- card_mod:
- class: content
- entities:
- - entity: sensor.temperature_7
- name: Raumtemperatur
- - entity: sensor.humidity_8
- name: Luftfeuchtigkeit
- - type: custom:mini-graph-card
- entities:
- - entity: sensor.temperatur_wohnraum_2
- line_width: 6
- hour24: true
- group: true
- lign_icon: left
- align_state: right
- align_header: left
- hours_to_show: 24
- show:
- fill: fade
- icon: false
- name: false
- state: false
- name_adaptive_color: false
- labels: hover
- legend: false
- style: |
- ha-card {
- box-shadow: none;
- background: transparent;
- font-size: 10px!important;
- font-color: rgba(255,0,0,0.8)!important;
- }
- name: Gästebad
- color_type: card
- show_state: true
- custom_fields:
- Temperature: >
- [[[ {
- const temp = Math.round(entity.attributes.temperature);
- const radius = 20.5;
- const circumference = radius * 2 * Math.PI;
- return `<svg viewBox="0 0 50 50"><style>circle { transform:
- rotate(-90deg); transform-origin: 50% 50%;stroke-dasharray:
- ${circumference};stroke-dashoffset: ${circumference - temp / 100
- * circumference};}
- tspan {font-size: 10px;}</style> <circle cx="25" cy="25"
- r="24.5" stroke="#b2b2b2" stroke-width="1.5" fill="#FFFFFF08"
- style="
- transform: rotate(-90deg); transform-origin: 50% 50%;" />
- <text x="50%" y="54%" fill="#8d8e90" font-size="11"
- text-anchor="middle" alignment-baseline="middle"
- dominant-baseline="middle">${temp}°</text></svg>`; } ]]]
- show_entity_picture: true
- styles:
- card:
- - font-family: Sf Display
- - border-radius: var(--custom-button-card-border-radius)
- - '-webkit-tap-highlight-color': rgba(0,0,0,0)
- - transition: none
- - padding: 10%
- grid:
- - grid-template-areas: '"i" "n" "s"'
- - grid-template-columns: 1fr
- - grid-template-rows: 1fr min-content min-content
- name:
- - justify-self: start
- - padding-left: 7px
- - font-weight: bold
- - font-family: SF Display
- - font-size: 14px
- img_cell:
- - justify-content: start
- - padding-left: 5px
- - padding-top: 10px
- - align-items: start
- - margin: none
- state:
- - justify-self: start
- - font-color: red
- - padding-left: 7px
- - padding-bottom: 10px
- - text-transform: capitalize
- - font-family: SF Display
- - font-size: 10px
- icon:
- - width: 40%
- custom_fields:
- Temperature:
- - align-self: start
- - position: absolute
- - left: 55%
- - top: 10%
- - width: 40%
- - font-size: 18px
- - font-weight: 900
- - font-family: SF Display
- - text-transform: capitalize
- state:
- - value: heat
- entity_picture: \local\img\icons8-heizkörper-48.png
- color: rgba(255,255,255,0.9)
- - value: 'off'
- entity_picture: \local\img\icons8-heizkörper-48.png
- color: rgba(65,65,63,0.8)
- styles:
- card:
- - filter: opacity(50%)
- icon:
- - filter: grayscale(100%)
- title: Heizung
- columns: 2
- view_layout:
- grid-area: heizung
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement