I can’t get the huawei_solar version 1.0.0a3 working.
I have the correct version on my dongle. I have lan and wifi configured on my RPI. I can ping 192.168.200.1. Once downloaded and restarted, I can configure but I don’t see the additional options with regards to the battery as described in the documentation. After entering the ip and port I get the next window in which I can fill the installer password. Also that is working. In HA I can see the device is configured but I don’t see any other entities. What else do I need to do?
Logs :
Logger: homeassistant.setup
Source: setup.py:291
First occurred: 19:59:39 (1 occurrences)
Last logged: 19:59:39
Unable to prepare setup for platform huawei_solar.sensor: Platform not found (cannot import name ‘POWER_VOLT_AMPERE_REACTIVE’ from ‘homeassistant.const’ (/usr/src/homeassistant/homeassistant/const.py)).
Logger: homeassistant.config_entries
Source: custom_components/huawei_solar/number.py:35
Integration: Huawei Solar
First occurred: 19:59:39 (1 occurrences)
Last logged: 19:59:39
Error setting up entry SUN2000-4.6KTL-L1 for number
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File “/usr/src/homeassistant/homeassistant/components/number/init.py”, line 81, in async_setup_entry
return await component.async_setup_entry(entry)
File “/usr/src/homeassistant/homeassistant/helpers/entity_component.py”, line 147, in async_setup_entry
platform = await async_prepare_setup_platform(
File “/usr/src/homeassistant/homeassistant/setup.py”, line 309, in async_prepare_setup_platform
platform = integration.get_platform(domain)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 530, in get_platform
cache[full_name] = self._import_platform(platform_name)
File “/usr/src/homeassistant/homeassistant/loader.py”, line 535, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File “/usr/local/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1030, in _gcd_import
File “”, line 1007, in _find_and_load
File “”, line 986, in _find_and_load_unlocked
File “”, line 680, in _load_unlocked
File “”, line 850, in exec_module
File “”, line 228, in _call_with_frames_removed
File “/config/custom_components/huawei_solar/number.py”, line 35, in
HuaweiSolarNumberEntityDescription(
TypeError: init() got an unexpected keyword argument ‘min_value’