23/12/2022, 12:45:53
Code :
type: custom:simple-thermostat
entity: climate.bureau_temperature
sensors:
- entity: sensor.temperature_bureau
icon: mdi:home-thermometer
unit: °
decimals: 1
header:
name: Bureau
layout:
step: row
mode:
names: false
headings: false
icons: true
unit: ' °'
label:
temperature: Pièce
hide:
state: true
temperature: true
control:
preset:
away:
icon: mdi:account-cancel-outline
name: Absent
sleep:
icon: mdi:leaf
name: Éco
comfort:
icon: mdi:radiator
name: Normal
eco:
icon: mdi:snowflake-off
name: Hors Gel
style: |
ha-card {
--st-font-size-xl: 24px;
--st-font-size-m: 30px;
--st-font-size-title: 20px;
--st-font-size-sensors: 40px;
--st-spacing: 2px;
--st-mode-active-color: orange;
--st-mode-active-background: SteelBlue
}