So I got the original SIA code from CheaterDev to work but not the modified version by @eavanvalkenburg. Downloaded the code from the “master” branch and put the files in config/custom_components and added the code in configuration.yaml.
Does these errors make any sense to you?
Logginformation (ERROR)
Wed Feb 19 2020 19:42:01 GMT+0100 (centraleuropeisk normaltid)
Error executing service <ServiceCall homeassistant.restart (c:d321acf7774f45d6bce07dbfdcc0a51a)>
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/core.py”, line 1234, in _safe_execute
await self._execute_service(handler, service_call)
File “/usr/src/homeassistant/homeassistant/core.py”, line 1251, in _execute_service
await handler.func(service_call)
File “/usr/src/homeassistant/homeassistant/components/hassio/init.py”, line 265, in async_handle_core_service
errors = await conf_util.async_check_ha_config_file(hass)
File “/usr/src/homeassistant/homeassistant/config.py”, line 784, in async_check_ha_config_file
res = await check_config.async_check_ha_config_file(hass)
File “/usr/src/homeassistant/homeassistant/helpers/check_config.py”, line 115, in async_check_ha_config_file
integration = await async_get_integration_with_requirements(hass, domain)
File “/usr/src/homeassistant/homeassistant/requirements.py”, line 48, in async_get_integration_with_requirements
integration = await async_get_integration(hass, domain)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 329, in async_get_integration
integration = Integration.resolve_legacy(hass, domain)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 181, in resolve_legacy
comp = _load_file(hass, domain, LOOKUP_PATHS)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 389, 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 “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 724, in exec_module
File “”, line 860, in get_code
File “”, line 791, in source_to_code
File “”, line 219, in _call_with_frames_removed
File “/config/custom_components/sia/init.py”, line 7
^
SyntaxError: invalid syntax