This is the archive code sets of my custom component for Home Assistant to integrate with a Lennox iComfort WiFi thermostat. THe currnet code set is here: https://github.com/thevoltagesource/LennoxiComfort
This code only works with the iComfort WiFi and not the iComfort S30 or E30. To help with the distiction and avoid any head banging, I am renaming the component from lennox to myicomfort. To use this code you must have previously created a myicomfort account and connected your iComfort WiFi thermostat to your account.
This repository is just older code sets that worked with specific HA versions. It is here for historical porposes since I am cleaning up the primary repository. If you don't see your version of HA listed then you are probably in the wrong repository. When configuring this integration please make sure to follow the directions for your version of Home Assistant. There have been a couple of major HA changes that has resulted in version specific code/config for this integration.
The API code used to interface with myicomfort.com (and mycomfortsync.com) has been published to PyPI and HA will install the appropriate version on startup the first time the component is loaded. You no longer need to manually copy the API code to your installation. If you previously copied lennox_api.py to your installation it is safe to delete this file now.
Copy the 'myicomfort-old' folder and contents to <config directory>/custom_components/, rename the folder to 'myicomfort', and add the following to your configuration.yaml file:
climate:
- platform: myicomfort
name: lennox
username: !secret icomfort_username
password: !secret icomfort_password
system: 0 (optional, default = 0)
zone: 0 (optional, default = 0)
min_temp: 55 (optional, default = 45)
max_temp: 90 (optional, default = 95)
Platform has to be 'myicomfort' but everything else is your's to customize. This version does not support the AirEase thermostat. Don't include the parentheses in your config. Those are just my way of putting some inline notes in this example.
Copy 'lennox.py' from 'ha_component' to <config directory>/custom_components/climate and add the following to your configuration.yaml file:
climate:
- platform: lennox
name: lennox
username: !secret icomfort_username
password: !secret icomfort_password
system: 0 (optional, default = 0)
zone: 0 (optional, default = 0)
min_temp: 55 (optional, default = 45)
max_temp: 90 (optional, default = 95)
Platform has to be 'lennox' but everything else is your's to customize. Don't include the parentheses in your config. Those are just my way of putting some inline notes in this example.
The API folder is here as an archive of my myicomfort API as well that is used. The current API is published as a package to PyPI
My code is built on the work of Jerome Avondo (ut666)
- API: https://github.com/ut666/LennoxPy
- HA Component: https://github.com/ut666/Homeassistant/tree/master/custom_components/climate
- Lennox Cloud API details: https://github.com/ut666/LennoxThermoPi-II