Honeywell Lyric Thermostat

LOL, the old adage “if it works don’t fix it” :grinning:

Anyway I’m currently on 0.88.1 with no changes to how I had it working in 0.87.x versions. All I did was delete what was in the pycache folder and restart HA.

But you do have a warning in your log that it won’t work in the future, right?

Yeah, I do…I had missed that. So it probably will stop working on the next upgrade or 2…bummer.

Wish this was a better maintained plug in, I’m not much of a python coder.

1 Like

You were right 0.89.0 broke mine. Went back to 0.88.2 and it working again!! Will be watching for any help fixing this. Thanks everyone!!

@cheelio- perhaps the .py files need to be changed to reflect this.

Same here, trying to fix it via trial and error (I’m not a programmer).

Similar issues here: 0.89 Breaking Change: Prevent partial custom component overlays

edit: Ok, I think i found a fix. Published a repo with it:
https://github.com/teunehv/ha-custom-components/tree/master/lyric

1 Like

thanks- looks good.

This is probably a easy question for you. I am running hassbian on a PI, can you tell me where to put these .py files?

I think it should be in /home/homeassistant/.homeassistant/custom_components/

Yes, Indeed!

@teunehv thank you very much!
This almost works in 0.89.0. I see the entity and can read current values, but changes are not reflected on the actual thermostat. Setting values (like temperature) doesn’t work for me.

@lukastillmann was it working before? And do you see entries in your log?

In my configuration, hassio 0.89.0 it’s working, just double checked.

What about the services.yaml, is this optional? Great work! Will try it in a sec. 89 broke it for me, 88 was working.

Yes, I only put it in because it was in the original.

See here the explanation for the use: Honeywell Lyric Thermostat

Hmm, deleted pycache, uploaded your repo, good folder structure, and in the right place.
Component doesnt get loaded. No logs…

Well, now it works again, after another restart. :slight_smile::+1:

1 Like

Can you share the content of the custom components folder, perhaps something strange in there.

Sure here you go, your files repo files are in there:

core-ssh:~# ls -la /config/custom_components/
total 52
drwxr-xr-x   10 root     root          4096 Mar  8 23:10 .
drwxr-xr-x   17 root     root          4096 Mar  8 23:19 ..
drwxr-xr-x    2 root     root          4096 Mar  8 23:10 __pycache__
drwxr-xr-x    3 root     root          4096 Mar  8 22:09 alexa_media
drwxr-xr-x    3 root     root          4096 Feb 22 20:32 bwalarm
-rw-r--r--    1 root     root         11774 Mar  4 23:17 custom_updater.py
drwxr-xr-x    2 root     root          4096 Mar  8 20:42 liric
drwxr-xr-x    2 root     root          4096 Mar  8 15:35 media_player
drwxr-xr-x    3 root     root          4096 Mar  8 14:49 plex_recently_added
drwxr-xr-x    3 root     root          4096 Mar  8 23:06 radarr_upcoming_media
drwxr-xr-x    3 root     root          4096 Mar  8 20:34 sonarr_upcoming_media
core-ssh:~# ls -la /config/custom_components/liric/
total 32
drwxr-xr-x    2 root     root          4096 Mar  8 20:42 .
drwxr-xr-x   10 root     root          4096 Mar  8 23:10 ..
-rw-r--r--    1 root     root            66 Mar  8 20:29 README
-rw-r--r--    1 root     root          7279 Mar  8 20:28 __init__.py
-rw-r--r--    1 root     root         11997 Mar  8 20:28 climate.py

I see a folder named liric instead of lyric

weird, my bad, doesnt seem to fix it though. renamed to Lyric

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/setup.py", line 154, in _async_setup_component
    component.setup, hass, processed_config)  # type: ignore
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/lyric/__init__.py", line 116, in setup
    import lyric
  File "/config/lyric.py", line 17, in <module>
    from homeassistant.components.climate import (
ImportError: cannot import name 'STATE_AUTO' from 'homeassistant.components.climate' (/usr/local/lib/python3.7/site-packages/homeassistant/components/climate/__init__.py
1 Like