This component allows adding a heat/cool mode to any climate entity which has both heat and cool but not heat/cool. Switching the underlying climate entity between the two modes is done automatically based on the temperature reported by the entity. All other climate modes are reported as-is and should work the same as they do for the underlying climate entity.
This component is based on ha-dualmodegeneric which is itself a fork of the mainline generic_thermostat
.
- Have HACS installed, this will allow you to easily update
- Add
https://github.com/EiNSTeiN-/ha-dualmodegeneric
as a custom repository as Type: Integration - Click install under "Dual-Mode Thermostat for AC unit", restart your instance.
- Download this repository as a ZIP (green button, top right) and unzip the archive
- Copy
/custom_components/dualmode_generic
to your<config_dir>/custom_components/
directory- You will need to create the
custom_components
folder if it does not exist - On Hassio the final location will be
/config/custom_components/dualmode_generic
- On Hassbian the final location will be
/home/homeassistant/.homeassistant/custom_components/dualmode_generic
- You will need to create the
Add the following to your configuration file
climate:
- platform: dualmode_ac
name: My Thermostat
unique_id: climate.my_thermostat
climate_entity_id: climate.my_disappointing_ac_unit
target_temp_high: 21
target_temp_low: 19
min_cycle_duration:
minutes: 20
cold_tolerance: 1
hot_tolerance: 1
initial_hvac_mode: heat_cool
Leave target_temp_high
and target_temp_low
empty to use the previously set value when the entity is reloaded. Otherwise the configured value will be used and previous value ignored.
- Setup your logger to print debug messages for this component using:
logger:
default: info
logs:
custom_components.dualmode_generic: debug
- Restart HA
- Verify you're still having the issue
- File an issue in this Github Repository containing your HA log (Developer section > Info > Load Full Home Assistant Log)
- You can paste your log file at pastebin https://pastebin.com/ and submit a link.
- Please include details about your setup (Pi, NUC, etc, docker?, HASSOS?)
- The log file can also be found at
/<config_dir>/home-assistant.log