Hi @tmz42 !
I tried to install your Heatzy component for HA, adding the Heatzy.py to the custom component folder, and change my configuration with my Heatzy credentials.
The script itself works fine when using from the CLI or using Python command line.
But I got the following error when loading the module in Hass.
2019-01-24 16:11:35 ERROR (MainThread) [homeassistant.components.climate] Error while setting up platform heatzy
Traceback (most recent call last):
File “/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py”, line 128, in _async_setup_platform
File “/usr/local/lib/python3.6/asyncio/tasks.py”, line 358, in wait_for
File “/usr/local/lib/python3.6/concurrent/futures/thread.py”, line 56, in run
result = self.fn(*self.args, **self.kwargs)
File “/config/custom_components/climate/heatzy.py”, line 25, in setup_platform
ModuleNotFoundError: No module named ‘heatzy’
It seems that the import fails
Thanks for your help