A different take on the thermostat card for Home Assistant Lovelace UI. The aim is to provide a card with simpler interactions that are easier to use and take up less space, as well as provide more modularity to tweak the card. For example the abiltity to embed sensor values that are relevant to your thermostat (like humidity, energy usage, hours on +++).
- Download the repo as a zip or with git clone and store it in
www/simple-thermostat/
in your configuration folder. - Configure Lovelace to load the card:
resources: - url: /local/simple-thermostat/simple-thermostat.js?v=1 type: module
entity
string: The thermostat entity id requiredname
string|false: Override the card name, or disable showing a name at all. Default is to use the friendly_name of the thermostat providedicon
string|object: Show an icon next to the card name. You can also pass an object to specify state-specific icons. Defaults state-specific icons radiator/radiator-disabled/snowflakeidle
: string: Use this icon for state idleheat
: string Use this icon for state heatcool
: string Use this icon for state cool
step_size
number: Override the default 0.5 step size for increasing/decreasing the temperaturehide
object: Control specifically information fields to show. Defaults to showing everythingtemperature
: boolstate
: boolmode
: boolfan_speed
: bool
sensors
arrayentity
string: A sensor value entity id requiredname
string: Specify a sensor name to use instead of the default friendly_name
cards:
- type: custom:simple-thermostat
entity: climate.my_room
step_size: 1
sensors:
- entity: sensor.fibaro_system_fgwpef_wall_plug_gen5_energy
- entity: sensor.fibaro_system_fgwpef_wall_plug_gen5_power
name: Energy today
hide:
mode: true