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 +++).
Home Assistant 0.84 or higher
- Download the
simple-thermostat.js
from the latest release and store it in yourconfiguration/www
folder. Previously you could download the source file from Github but starting from the 0.14 release that is no longer possible. If you try to do so it will crash - Configure Lovelace to load the card:
resources:
- url: /local/simple-thermostat.js?v=1
type: module
- Make sure you've the custom_updater component installed and working.
- Configure Lovelace to load the card:.
resources:
- url: /customcards/github/nervetattoo/simple-thermostat.js?track=true
type: module
- Run the service
custom_updater.check_all
or click the "CHECK" button if you use the tracker-card. - Refresh the website.
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
: bool (Default tofalse
)state
: bool (Default tofalse
)mode
: bool (Default tofalse
)away
: bool (Default totrue
)
sensors
arrayentity
string: A sensor value entity idattribute
string: The key for an attribute provided by the main entity (for examplemin_temp
)name
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
- attribute: min_temp
name: Min temp
hide:
mode: true