Closed VDRainer closed 1 year ago
I wasn't able to reproduce this myself but i can try to push a possible bugfix.
Are you able to to modify your local source yourself to give it a try or do you need a release?
Can you change this line: https://github.com/dolezsa/thermal_comfort/blob/8dfd711a7009c0049b5958888f1c8b0f1f4487f3/custom_components/thermal_comfort/sensor.py#L698
to
hass = self.hass
This change would make sense anyway but would be nice to have feedback before pushing it.
@rautesamtr , Thanks for your fast reply.
The change to hass = self.hass
fixed the issue for me.
No errors in the log and the TC Devices are all 'online' after HA Restart.
Since Update to 2.0.0 my log fills with:
After HA Restart a few of the TC Device Sensors show the state 'unknown'.
After reloading the TC Device they seem to work ok.
EDIT: HA 2023.1.2 Core in Python 3.10.8 venv