Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: vertical-stack
- cards:
- - type: horizontal-stack
- cards:
- - type: 'custom:simple-thermostat'
- entity: climate.varmekabler_felix
- style: |
- :host {
- --paper-item-icon-color:
- {% set mode = state_attr('climate.varmekabler_felix', 'hvac_action') %}
- {% if mode == "heating" %} #eb7a34
- {% else %} #aeeafc
- {% endif %}
- ;
- }
- show_header: true
- label:
- temperature: Enhet
- state: Modus
- control:
- _headings: false
- _setpoint: false
- hide:
- setpoint: true
- state: true
- sensors:
- - entity: climate.varmekabler_felix
- attribute: temperature
- name: Setpoint
- - entity: sensor.watt_varmekabler_felix
- name: Watt
- name: Felix
- decimals: '1'
- - type: markdown
- content: >-
- ||Forbruk
- |:|:|
- I dag | {{ states('sensor.daily_energy_varmekabler_felix')|round(1) }}
- kWh / {{ state_attr('sensor.cost_varmekabler_felix',
- 'this_day')|round(2) }} kr
- I går | {{state_attr('sensor.daily_energy_varmekabler_felix',
- 'last_period')|round(1) }} kWh /
- {{state_attr('sensor.cost_varmekabler_felix','daily_last_period')|round(2)
- }} kr
- Nå| {{ state_attr('sensor.cost_varmekabler_felix', 'pr_hour')|round(2)
- }} kr pr time
- - type: horizontal-stack
- cards:
- - entities:
- - entity: sensor.soverom_felix_vs_temperature
- name: Temp
- show_fill: false
- - entity: sensor.setpoint_varmekabler_felix
- color: red
- show_points: false
- name: Setpoint
- show_line: false
- - entity: sensor.watt_varmekabler_felix
- y_axis: secondary
- name: Watt
- show_line: false
- show_points: false
- color: '#7F7F7F'
- hours_to_show: 24
- hour24: true
- align_state: center
- lower_bound: 10
- upper_bound: 25
- show:
- name: false
- icon: false
- extrema: true
- average: true
- line_width: 5
- points_per_hour: 3
- color_thresholds:
- - value: 12
- color: '#CCE5FF'
- - value: 14
- color: '#66B2FF'
- - value: 16
- color: '#0080FF'
- - value: 18
- color: '#87c087'
- - value: 19
- color: '#389638'
- - value: 20
- color: '#007800'
- - value: 21
- color: '#FF9932'
- - value: 22
- color: '#FF8000'
- - value: 23
- color: '#ff0000'
- type: 'custom:mini-graph-card'
- - type: horizontal-stack
- cards:
- - type: button
- entity: input_boolean.varmekabler_eco_felix
- name: Øko
- tap_action:
- action: call-service
- service: input_boolean.turn_on
- service_data:
- entity_id: input_boolean.varmekabler_eco_felix
- icon: 'hass:weather-night'
- icon_height: 30px
- show_name: false
- - type: button
- entity: input_boolean.varmekabler_comfy_felix
- name: Komfort
- tap_action:
- action: call-service
- service: input_boolean.turn_on
- service_data:
- entity_id: input_boolean.varmekabler_comfy_felix
- icon: 'hass:white-balance-sunny'
- show_name: false
- icon_height: 30px
- - type: button
- entity: input_boolean.varmekabler_boost_felix
- name: Boost
- tap_action:
- action: call-service
- service: input_boolean.turn_on
- service_data:
- entity_id: input_boolean.varmekabler_boost_felix
- icon: 'mdi:car-turbocharger'
- show_name: false
- icon_height: 30px
- - type: horizontal-stack
- cards:
- - type: 'custom:numberbox-card'
- entity: input_number.setpoint_eco_varmekabler_felix
- name: false
- - type: 'custom:numberbox-card'
- entity: input_number.setpoint_comfy_varmekabler_felix
- name: false
- - type: 'custom:numberbox-card'
- entity: input_number.setpoint_boost_varmekabler_felix
- name: false
Advertisement
Add Comment
Please, Sign In to add comment