Climate things

This commit is contained in:
2025-01-25 22:23:29 -05:00
parent f487f34233
commit d27617d5b6
2 changed files with 184 additions and 5 deletions

View File

@ -1292,6 +1292,64 @@ views:
card_type: separator
name: Environment
icon: mdi:thermometer
- type: conditional
conditions:
- condition: state
entity: input_boolean.basement_studio_heat_allowed
state: 'on'
card:
type: custom:stack-in-card
cards:
- features:
- style: icons
type: climate-hvac-modes
hvac_modes:
- 'off'
- heat
- type: target-temperature
- style: dropdown
type: climate-preset-modes
preset_modes:
- none
- frost
- eco
- comfort
- boost
type: tile
entity: climate.basement_studio_vtherm
vertical: false
show_entity_picture: false
hide_state: false
name: Basement Studio Heater
- type: horizontal-stack
cards:
- type: custom:bubble-card
card_type: button
button_type: state
entity: switch.basement_studio_heater
name: Heater Running
show_attribute: false
tap_action:
action: none
double_tap_action:
action: none
hold_action:
action: none
button_action:
tap_action:
action: none
double_tap_action:
action: none
hold_action:
action: none
styles: |-
.bubble-button-background {
opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
}
.bubble-icon {
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
}
- type: horizontal-stack
cards:
- type: custom:bubble-card
@ -2947,6 +3005,64 @@ views:
card_type: separator
name: Environment
icon: mdi:thermometer
- type: conditional
conditions:
- condition: state
entity: input_boolean.emma_bedroom_heater_installed
state: 'on'
card:
type: custom:stack-in-card
cards:
- features:
- style: icons
type: climate-hvac-modes
hvac_modes:
- 'off'
- heat
- type: target-temperature
- style: dropdown
type: climate-preset-modes
preset_modes:
- none
- frost
- eco
- comfort
- boost
type: tile
entity: climate.emma_bedroom_vtherm
vertical: false
show_entity_picture: false
hide_state: false
name: Emma Bedroom Heater
- type: horizontal-stack
cards:
- type: custom:bubble-card
card_type: button
button_type: state
entity: switch.emma_bedroom_heater
name: Heater Running
show_attribute: false
tap_action:
action: none
double_tap_action:
action: none
hold_action:
action: none
button_action:
tap_action:
action: none
double_tap_action:
action: none
hold_action:
action: none
styles: |-
.bubble-button-background {
opacity: 1 !important;
background-color: ${state === 'on' ? 'var(--accent-color)' : 'var(--background-color-2)'} !important;
}
.bubble-icon {
color: ${state === 'on' ? 'var(--accent-color)' : 'var(--text-color)'} !important;
}
- type: conditional
conditions:
- condition: state