Hi to everybody reading this,
I loaded HA on my Raspi 3 and configured my EDIMAX SP2101W. But it seems there is an error interpreting the return messages from the switch. Therefore I cannot see the switch an cannot turn it on or off.
I am using:
Home Assistant 2022.12.6 Supervisor 2022.11.2 Operating System 9.4 Frontend 20221213.0 - latest.
The SP2101W is updated to the latest Firmware 3.0.0c
I am new to Home Assistant and have not used it before. So I do not know if it would have worked with the previous firmware. Could someone tell me how to look at the source code? The directories mentioned in the log are empty on my Raspi 3 installation.
Here is the error log:
2022-12-17 21:19:55.810 ERROR (MainThread) [homeassistant.components.switch] edimax: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 493, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 715, in async_device_update
await task
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/edimax/switch.py", line 83, in update
self._info = self.smartplug.info
File "/usr/local/lib/python3.10/site-packages/pyedimax/smartplug.py", line 274, in info
vendor = dom.getElementsByTagName("Run.Cus")[0].firstChild.nodeValue
AttributeError: 'NoneType' object has no attribute 'getElementsByTagName' `