Hi,
I am using the awesome but here not mentioned Mini Climate Card for my homematic thermostats.
But what I struggle with is the implementation of the preset_mode I would like to see the current preset and change it, but I don’t know how to get the preset information.
Currently it looks like that:
Code
type: 'custom:mini-climate'
entity: climate.wohnzimmer
icon: 'mdi:radiator'
group: true
toggle:
hide: false
secondary_info:
type: hvac-mode
icon: 'mdi:radiator'
target_temperature:
step: 0.5
indicators:
humidity:
icon:
template: '() => ''mdi:water'''
style: |
(value) => (value < 40 ? { color: 'red'} : {})
unit: '%'
source:
entity: sensor.wohnsensor_humidity
valve:
icon: 'mdi:valve'
unit: '%'
source:
entity: sensor.wohn_thermostat_heating
boost:
icon:
template: '() => ''mdi:fire'''
style: |
(value) => (value == "heat" ? { color: 'orange'} : {})
source:
entity: climate.wohnzimmer
preset:
icon:
template: '() => ''mdi:fire'''
style: |
(value) => (value == "heat" ? { color: 'orange'} : {})
source:
entity: climate.set_preset_mode
hvac_mode:
hide: true
style: |
:host {
padding: 0px 10px;
}
Any help is appreciated