I have this custom component set up in HA 0.84.6. It worked fine.
I wanted to see if I could sever the cloud connection so I put some firewall rules in my router that disabled internet access for te thermostat. After I did that I could still operate the thermostat from HA just fine. However, my thermostat display kept complaining that it could not connect to the internet.
In the next step I deleted my thermostat from the app, deleted my honeywell account and also removed the lyric app from my phone. I also enabled internet access again. This stopped the complaining on the thermostat, and I still can operate the thermostat from HA. However now I loose connection with the thermostat for half a minute or so every 7-10 minutes. It’s mainly an annoyance but it is not nice that sometimes the thermostat shows as unavailable.
In my logs I see entries like below every 7-10 minutes:
Sun Jan 06 2019 21:07:19 GMT+0100 (Midden-Europese standaardtijd) Failed to connect to homekit device Traceback (most recent call last): File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/homekit_controller/__init__.py", line 165, in get_json data = json.loads(response.read().decode()) File "/usr/lib/python3.5/json/__init__.py", line 319, in loads return _default_decoder.decode(s) File "/usr/lib/python3.5/json/decoder.py", line 339, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.5/json/decoder.py", line 357, in raw_decode raise JSONDecodeError("Expecting value", s, err.value) from None json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Any thoughts on what might cause this, or how to investigate?