Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: custom:vertical-stack-in-card
- cards:
- - type: custom:text-divider-row
- text: Heizung
- - type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: climate.wohnzimmer
- icon: mdi:television
- name: |
- [[[
- if (entity.state == 'heat') {
- return "-> " + entity.attributes.temperature + '°C';
- } else {
- return "Aus";
- }
- ]]]
- state_display: |
- [[[
- return '' + states['sensor.wozi_govee_temperature'].state + '°C';
- ]]]
- styles:
- grid:
- - position: relative
- card:
- - height: 50px
- name:
- - color: null
- - font-size: 12px
- state:
- - color: |
- [[[
- if (entity.attributes.current_temperature > 25) return '#e63232';
- if (entity.attributes.current_temperature > 23) return '#ff6f22';
- if (entity.attributes.current_temperature > 20) return 'var(--orange-color)';
- if (entity.attributes.current_temperature > 18) return '#4d6dff';
- else return 'red';
- ]]]
- - font-size: 14px
- icon:
- - color: |
- [[[
- if (entity.attributes.hvac_action == 'heating' && entity.state == 'heat') return '#ff6f22';
- else return '';
- ]]]
- layout: icon_state_name2nd
- show_name: true
- show_state: true
- show_icon: true
- tap_action:
- action: more-info
- - type: custom:button-card
- entity: climate.flur_bt
- icon: mdi:wardrobe-outline
- name: |
- [[[
- if (entity.state == 'heat') {
- return "-> " + entity.attributes.temperature + '°C';
- } else {
- return "Aus";
- }
- ]]]
- state_display: |
- [[[
- return '' + states['sensor.flur_temperature'].state + '°C';
- ]]]
- styles:
- grid:
- - position: relative
- card:
- - height: 50px
- name:
- - color: null
- - font-size: 12px
- state:
- - color: |
- [[[
- if (entity.attributes.current_temperature > 25) return '#e63232';
- if (entity.attributes.current_temperature > 23) return '#ff6f22';
- if (entity.attributes.current_temperature > 20) return 'var(--orange-color)';
- if (entity.attributes.current_temperature > 18) return '#4d6dff';
- else return 'red';
- ]]]
- - font-size: 14px
- icon:
- - color: |
- [[[
- if (entity.attributes.hvac_action == 'heating' && entity.state == 'heat') return '#ff6f22';
- else return '';
- ]]]
- layout: icon_state_name2nd
- show_name: true
- show_state: true
- show_icon: true
- tap_action:
- action: more-info
- - type: custom:button-card
- entity: climate.kuche
- icon: mdi:silverware-fork-knife
- name: |
- [[[
- if (entity.state == 'heat') {
- return "-> " + entity.attributes.temperature + '°C';
- } else {
- return "Aus";
- }
- ]]]
- state_display: |
- [[[
- return '' + states['sensor.kuche_govee_temperature'].state + '°C';
- ]]]
- styles:
- grid:
- - position: relative
- card:
- - height: 50px
- name:
- - color: null
- - font-size: 12px
- state:
- - color: |
- [[[
- if (entity.attributes.current_temperature > 25) return '#e63232';
- if (entity.attributes.current_temperature > 23) return '#ff6f22';
- if (entity.attributes.current_temperature > 20) return 'var(--orange-color)';
- if (entity.attributes.current_temperature > 18) return '#4d6dff';
- else return 'red';
- ]]]
- - font-size: 14px
- icon:
- - color: |
- [[[
- if (entity.attributes.hvac_action == 'heating' && entity.state == 'heat') return '#ff6f22';
- else return '';
- ]]]
- layout: icon_state_name2nd
- show_name: true
- show_state: true
- show_icon: true
- tap_action:
- action: more-info
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: climate.bad
- icon: mdi:bathtub
- name: |
- [[[
- if (entity.state == 'heat') {
- return "-> " + entity.attributes.temperature + '°C';
- } else {
- return "Aus";
- }
- ]]]
- state_display: |
- [[[
- return '' + states['sensor.bad_temperature'].state + '°C';
- ]]]
- styles:
- grid:
- - position: relative
- card:
- - height: 50px
- name:
- - color: null
- - font-size: 12px
- state:
- - color: |
- [[[
- if (entity.attributes.current_temperature > 25) return '#e63232';
- if (entity.attributes.current_temperature > 23) return '#ff6f22';
- if (entity.attributes.current_temperature > 20) return 'var(--orange-color)';
- if (entity.attributes.current_temperature > 18) return '#4d6dff';
- else return 'red';
- ]]]
- - font-size: 14px
- icon:
- - color: |
- [[[
- if (entity.attributes.hvac_action == 'heating' && entity.state == 'heat') return '#ff6f22';
- else return '';
- ]]]
- layout: icon_state_name2nd
- show_name: true
- show_state: true
- show_icon: true
- tap_action:
- action: more-info
- - type: custom:button-card
- entity: climate.schlafzimmer
- icon: mdi:bed
- name: |
- [[[
- if (entity.state == 'heat') {
- return "-> " + entity.attributes.temperature + '°C';
- } else {
- return "Aus";
- }
- ]]]
- state_display: |
- [[[
- return '' + states['sensor.schlafzimmer_temperature'].state + '°C';
- ]]]
- styles:
- grid:
- - position: relative
- card:
- - height: 50px
- name:
- - color: null
- - font-size: 12px
- state:
- - color: |
- [[[
- if (entity.attributes.current_temperature > 25) return '#e63232';
- if (entity.attributes.current_temperature > 23) return '#ff6f22';
- if (entity.attributes.current_temperature > 20) return 'var(--orange-color)';
- if (entity.attributes.current_temperature > 18) return '#4d6dff';
- else return 'red';
- ]]]
- - font-size: 14px
- icon:
- - color: |
- [[[
- if (entity.attributes.hvac_action == 'heating' && entity.state == 'heat') return '#ff6f22';
- else return '';
- ]]]
- layout: icon_state_name2nd
- show_name: true
- show_state: true
- show_icon: true
- tap_action:
- action: more-info
- - type: custom:button-card
- entity: binary_sensor.balkon_tur_contact
- name: Balkon
- state_display: |
- [[[
- if (entity.state == 'on') {
- return "Offen" ;
- } else {
- return "ist zu";
- }
- ]]]
- styles:
- grid:
- - position: relative
- card:
- - height: 50px
- name:
- - font-size: 14px
- - color: ''
- state:
- - font-size: 12px
- - color: ''
- icon:
- - color: ''
- layout: icon_name_state2nd
- show_name: true
- show_state: true
- show_icon: true
- tap_action:
- action: call-service
- service: input_boolean.toggle
- data: {}
- target:
- entity_id: input_boolean.lovelace_heizung
- - type: divider
- - type: conditional
- conditions:
- - entity: input_boolean.lovelace_heizung
- state: 'on'
- card:
- type: custom:vertical-stack-in-card
- cards:
- - type: custom:mini-graph-card
- animate: false
- decimals: 2
- font_size: 70
- align_state: center
- height: 150
- show:
- icon: false
- name: false
- state: false
- labels: true
- fill: false
- legend: true
- graph: true
- labels_secondary: false
- hours_to_show: 24
- points_per_hour: 2
- line_width: 2
- entities:
- - entity: sensor.wozi_govee_temperature
- name: Kino
- show_points: false
- show_state: true
- show_fill: false
- state_adaptive_color: true
- show_legend: true
- - entity: climate.flur_thermostat
- attribute: current_temperature
- name: Flur
- show_points: false
- show_state: true
- show_fill: false
- state_adaptive_color: true
- show_legend: true
- color: var(--orange-color)
- - entity: sensor.kuche_govee_temperature
- name: Küche
- show_points: false
- show_state: true
- show_fill: false
- state_adaptive_color: true
- show_legend: true
- color: var(--red-color)
- - entity: climate.bad
- attribute: current_temperature
- name: Bad
- show_points: false
- show_state: true
- show_fill: false
- state_adaptive_color: true
- show_legend: true
- color: var(--green-color)
- - entity: climate.schlafzimmer
- attribute: current_temperature
- name: Schlafen
- show_points: false
- show_state: true
- show_fill: false
- state_adaptive_color: true
- show_legend: true
- color: var(--purple-color)
- - type: divider
- - type: horizontal-stack
- cards:
- - type: custom:button-card
- entity: sensor.wozi_govee_temperature
- icon: mdi:home-thermometer
- name: 22C°
- layout: icon_name
- styles:
- name:
- - color: null
- - font-size: 12px
- - justify-self: start
- - font-weight: bold
- - line-height: 30px
- icon:
- - color: orange
- - justify-self: start
- show_name: true
- show_state: false
- show_icon: false
- tap_action:
- action: call-service
- service: script.heizung_comfort
- data: {}
- target: {}
- - type: custom:button-card
- entity: sensor.wozi_govee_temperature
- icon: mdi:home-thermometer-outline
- name: Eco
- layout: icon_name
- styles:
- name:
- - color: null
- - font-size: 12px
- - justify-self: start
- - font-weight: bold
- - line-height: 30px
- icon:
- - color: '#00bfff'
- - justify-self: start
- - padding: 0px 5px
- show_name: true
- show_state: false
- show_icon: false
- tap_action:
- action: call-service
- service: script.heizung_eco
- data: {}
- target: {}
- - type: custom:button-card
- entity: sensor.wozi_govee_temperature
- icon: mdi:snowflake-thermometer
- name: Frost
- layout: icon_name
- styles:
- name:
- - color: null
- - font-size: 12px
- - justify-self: start
- - font-weight: bold
- - line-height: 30px
- icon:
- - color: lightblue
- - justify-self: start
- - padding: 0px 0px
- show_name: true
- show_state: false
- show_icon: false
- tap_action:
- action: call-service
- service: script.heizung_frost
- data: {}
- target: {}
- - type: custom:button-card
- entity: sensor.wozi_govee_temperature
- icon: mdi:thermometer-off
- name: Aus
- layout: icon_name
- styles:
- name:
- - color: null
- - font-size: 12px
- - justify-self: start
- - font-weight: bold
- - line-height: 30px
- icon:
- - color: lightblue
- - justify-self: start
- - padding: 0px 0px
- show_name: true
- show_state: false
- show_icon: false
- tap_action:
- action: call-service
- service: script.heizung_aus
- data: {}
- target: {}
- - type: custom:button-card
- entity: sensor.wozi_govee_temperature
- icon: mdi:poll
- name: Info
- layout: icon_name
- styles:
- name:
- - color: null
- - font-size: 12px
- - justify-self: start
- - font-weight: bold
- - line-height: 30px
- icon:
- - color: lightblue
- - justify-self: start
- - padding: 0px 0px
- show_name: true
- show_state: false
- show_icon: false
- tap_action:
- action: navigate
- navigation_path: /lovelace/heizung_stats
Advertisement
Add Comment
Please, Sign In to add comment