Note also, the name has changed back to evohome (the _cc thing isn’t really working, but if anyone wants, I will provide instructions how to manually change it back).
Anyway, don’t forget to also change evohome_cc: to evohome: in your configuration.yaml!
For the custom_updater, I am using the following in my configuration.yaml:
Note that https://raw.githubusercontent.com/zxdavb/evohome/master/ does not yet contain the updated custom_components.json, so you’ll need to use the above URL for now. Later, you’ll need to switch it back when bleeding_edge is merged back into master.
It works again!
I have it still placed in custom_components (i saw your comment too late)
Should i try to place evhome dir in the config directory and not in the custom_components folder?
Can i also place some translation for the functions like “Away” or “DayOff”
The tracker card shows also the evohome component!
Followed all adaptations for the 1.1.7 release. (config, rename folder, updater url)
but it didn’t seem to work.
Then I realised I should be on 89.1 for using bleeding edge components
After update all works perfectly! Evohome + custom updater
It looks like the water_heater component doesn’t work with 1.1.7 when testing against 89.1:
2019-03-08 20:39:09 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.evohome.water_heater. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/homeassistant/loader.py", line 166, in _load_file
module = importlib.import_module(path)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/evohome/water_heater.py", line 22, in <module>
from homeassistant.components.water_heater.const import (
ModuleNotFoundError: No module named 'homeassistant.components.water_heater.const'
@Cinamon I am sorry that I don’t have time to make this happen - but I would be happy to test/accept a PR.
I think the way it is done, is to have snake_case strings in the *.py files, which are then used to lookup an internationalized (or the default) string in a *.json. So, in the code:
STATE = 'auto'
and
{
...
'auto': "Auto"
...
}
You can ask at (or maybe another channel via): HA dev channel