Skip to content

simpat1zq/dual-thermostat

 
 

Repository files navigation

Lovelace Dual Thermostat Card

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.

Example thermostat

Installation

  1. Download the repo as a zip or with git clone and copy the /dual-thermostat folder to the /www in your configuration folder.
  2. Configure Lovelace to load the card:
    resources:
      - url: /local/dual-thermostat/dual-thermostat.js?v=1
        type: js
    

Available configuration options:

  • entities array
    • cool: The thermostat cooling entity id required
    • heat: The thermostat heating entity id required
  • 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: Sets the minimum for the temperature slider(Default: If present, the number provided by the 'min_temp' attribute of the thermostat. Otherwise, this is 0*F)
  • max_slider integer: Sets the maximum for the temperature slider(Default: If present, the number provided by the 'max_temp' attribute of the thermostat. Otherwise, this is 100*F)

Example usage:

cards:
  - type: custom:dual-thermostat
    name: Downstairs
    entities:
      cool: climate.downstairs_cool
      heat: climate.downstairs_heat
    fan_control: true
    min_slider: 60
    max_slider: 80

About

Dual Thermostat Lovelace Card

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%