You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need help with integration. Do you know how to solve it? I will be grateful for your help..
Errors that appear:
Failed to load configuration interface: {"message":"Invalid handler specified"}
Error occurred loading flow for integration solarman: Exception importing custom_components.solarman.config_flow
Logger: homeassistant.config_entries
Source: config_entries.py:2087
First occurred: 10:01:14 (3 occurrences)
Last logged: 10:06:34
Error occurred loading flow for integration solarman: Exception importing custom_components.solarman.config_flow
Unexpected exception importing platform custom_components.solarman.sensor
Logger: homeassistant.loader
Source: loader.py:842
First occurred: 09:59:49 (4 occurrences)
Last logged: 10:06:34
Unexpected exception importing platform custom_components.solarman.sensor
Unexpected exception importing platform custom_components.solarman.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/solarman/init.py", line 9, in
from .const import *
File "/config/custom_components/solarman/const.py", line 9, in
LOOKUP_FILES = (os.listdir(os.path.dirname(file) + '/inverter_definitions'))
^^
NameError: name 'os' is not defined
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I need help with integration. Do you know how to solve it? I will be grateful for your help..
Errors that appear:
Failed to load configuration interface: {"message":"Invalid handler specified"}
Error occurred loading flow for integration solarman: Exception importing custom_components.solarman.config_flow
Logger: homeassistant.config_entries
Source: config_entries.py:2087
First occurred: 10:01:14 (3 occurrences)
Last logged: 10:06:34
Error occurred loading flow for integration solarman: Exception importing custom_components.solarman.config_flow
Unexpected exception importing platform custom_components.solarman.sensor
Logger: homeassistant.loader
Source: loader.py:842
First occurred: 09:59:49 (4 occurrences)
Last logged: 10:06:34
Unexpected exception importing platform custom_components.solarman.sensor
Unexpected exception importing platform custom_components.solarman.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 842, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 859, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1126, in _find_and_load_unlocked
File "", line 241, in _call_with_frames_removed
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "/config/custom_components/solarman/init.py", line 9, in
from .const import *
File "/config/custom_components/solarman/const.py", line 9, in
LOOKUP_FILES = (os.listdir(os.path.dirname(file) + '/inverter_definitions'))
^^
NameError: name 'os' is not defined
Beta Was this translation helpful? Give feedback.
All reactions