A custom Lovelace card based on the native thermostat card that allows to control dual thermostats that create separate Heat and Cool entities.
Heat and Cool entities are updated depending on the active thermostat mode. The low point on the Auto mode controls the heat entity and the high point controls the cool entity allowing you to use a single card for both entities.
- Download the repo as a zip or with git clone and copy contents of the
/dist
folder to the/www/dual-thermostat
in your configuration folder. - Configure Lovelace to load the card:
resources: - url: /local/dual-thermostat/dual-thermostat.js?v=1 type: js
entities
array- Using entity objects:
entity
string: The thermostat entity id requiredtype
string: cool or heat required
- Using string notation (Cooling entity first):
- string
cool_entity_id
The thermostat cooling entity id required - string
heat_entity_id
The thermostat heating entity id required
- string
- Using entity objects:
name
string: Override the card name. (Default: Uses the friendly_name attribute of the first climate entity provided)fan_control
bool: Show the fan control dropdown (Default: false)min_slider
integer: Override the minimum value of the slider (Default: Uses the 'min_temp' attribute provided by the thermostat)max_slider
integer: Override the maximum value of the slider (Default: Uses the 'max_temp' attribute provided by the thermostat)
cards:
- type: custom:dual-thermostat
name: Downstairs
entities:
- entity: climate.downstairs_cool
type: cool
- entity: climate.downstairs_heat
type: heat
fan_control: true
min_slider: 60
max_slider: 80
cards:
- type: custom:dual-thermostat
name: Downstairs
entities:
- climate.downstairs_cool
- climate.downstairs_heat
fan_control: true
min_slider: 60
max_slider: 80