Honeywell Lyric Thermostat

Yes, replace the lyric.py file with the new one and restart HASS.

From your repo both the lyric.py

Yes, this one to be specific:

https://raw.githubusercontent.com/bramkragten/home-assistant/lyric/homeassistant/components/lyric.py

that fixed it awesome thanks

Just got this working in about 30 minutes. Just wanted to say thank you for all the hard work that went into this. Been tracking temperatures for over an hour now and the functionality is great. Automations are next.

thanks, Bram that worked. Question, how do I set away mode? when I leave the house.

my conf.yaml
looks like this:
lyric:
client_id:xx
client_secret:xx

Am i missing somethng?

away mode does not work the same way as you are expecting in Lyric. You need to use the hold mode to set temperature. I posted some automations here. I have some more in my repo here - just search for lyric.

thanks, that makes sense.

Arasboo can we show indoor humidity from lyric round on to the UI?

Bram/Arasboo have you guys tried auto mode, my set point is 25C and when set to auto normal lyric function is to keep at that temp regardless of heat or cool. It will maintain that temp, when I use the api to call auto it didnā€™t change in the app so I started use the Lyric app. Any reason why that would not work. Itā€™s 22.5C and auto would switch to heat mode to keep at 25C.

You can create a template sensor. It is not supported by the climate component.

I donā€™t have auto mode, so canā€™t test that. Please activate debug and give me the outcome, and please put your lyric in auto mode before you restart home assistant. And after that change the temp and the state from auto to something else and then back.

Heading to work Bram, will test tonight

lyric thermostats (at least T5) do not measure humidity, so cannot expose that. I am using the auto mode and all it does is changes the operation_mode to cool or heat automatically for you. And, it works perfectly even with the current code.

Ok I will try to restart the stat with auto mode and see what happens. But when I set it to auto earlier nothing happened from the UI, I changed it through lyric.

Here you go:

2017-09-29 17:35:15 DEBUG (Thread-2) [custom_components.lyric] proceeding with discovery of platforms
2017-09-29 17:35:15 DEBUG (Thread-2) [custom_components.lyric] setup done of component
2017-09-29 17:35:16 DEBUG (Thread-17) [custom_components.climate.lyric] climate discovery_info: OrderedDict([(ā€˜scan_intervalā€™, 270), (ā€˜fanā€™, False)])
2017-09-29 17:35:16 DEBUG (Thread-17) [custom_components.climate.lyric] climate config: {}
2017-09-29 17:35:16 DEBUG (Thread-17) [custom_components.climate.lyric] Set up Lyric climate platform
2017-09-29 17:35:16 DEBUG (Thread-17) [custom_components.climate.lyric] away periods: []
2017-09-29 17:36:50 DEBUG (Thread-9) [custom_components.climate.lyric] auto
2017-09-29 17:36:50 DEBUG (Thread-9) [custom_components.climate.lyric] Auto
2017-09-29 17:36:50 ERROR (Thread-9) [lyric] HTTP Error Lyric API: 400 Client Error: Bad Request for url: https://api.honeywell.com/v2/devices/thermostats/TCC-xxxxxxxx?apikey=!secret&locationId=xxxxx
None
2017-09-29 17:37:29 DEBUG (Thread-3) [custom_components.climate.lyric] cool
2017-09-29 17:37:29 DEBUG (Thread-3) [custom_components.climate.lyric] Cool
200
2017-09-29 17:37:49 DEBUG (Thread-2) [custom_components.climate.lyric] auto
2017-09-29 17:37:49 DEBUG (Thread-2) [custom_components.climate.lyric] Auto
2017-09-29 17:37:49 ERROR (Thread-2) [lyric] HTTP Error Lyric API: 400 Client Error: Bad Request for url: https://api.honeywell.com/v2/devices/thermostats/TCC-xxxxxxxx?apikey=!secret&locationId=xxxxx
None
2017-09-29 17:38:03 DEBUG (Thread-17) [custom_components.climate.lyric] Lyric set_temperature-output-value=23.5
2017-09-29 17:38:03 ERROR (Thread-17) [lyric] HTTP Error Lyric API: 400 Client Error: Bad Request for url: https://api.honeywell.com/v2/devices/thermostats/TCC-xxxxxxxx?apikey=!secret&locationId=xxxxx
None
2017-09-29 17:38:40 DEBUG (Thread-4) [custom_components.climate.lyric] Lyric set_temperature-output-value=25.0
200
2017-09-29 17:38:49 DEBUG (Thread-10) [custom_components.climate.lyric] auto
2017-09-29 17:38:49 DEBUG (Thread-10) [custom_components.climate.lyric] Auto
2017-09-29 17:38:50 ERROR (Thread-10) [lyric] HTTP Error Lyric API: 400 Client Error: Bad Request for url: https://api.honeywell.com/v2/devices/thermostats/TCC-xxxxxxxx?apikey=!secret&locationId=xxxxx
None

Just as a sidenote, I sometimes get that same 400 Client Error when just trying to adjust the temperature. The temp will not change and the error shows up in the log. Usually if I just wait 10-15 minutes it works.

Yes it seems just for auto, maybe itā€™s other setting in lyric that I need to change. Will wait till the experts know whatā€™s up.

Guys it changed on itā€™s own to cool today. I think what tdub said is right, as long as it is working then error wonā€™t matter.

Iā€™ve got a few. (water/freeze that is)