Hi all, to the point, I’m in the process of upgrading my main Home Assistant instance and something seems to have changed (duh!) from v0.90.1 to v0.93.2 in the way that custom components are handled.
In my working setup (0.90.1), I have a custom component for a broadlink s1c security sensor. If I copy the configuration and custom component files to my new HA (0.93.2) I get this error when trying to validate the config.
Platform not found: sensor.broadlink_s1c
I’ve seen people have similar issues with Philips Hue custom sensors but nothing that really helps me on my way. Any help would be appreciated.
I have the same problem when I updated to v0.104.3
Traceback (most recent call last):
File "/home/pi/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/entity_platform.py", line 158, in _async_setup_platform
await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT)
File "/usr/local/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
return fut.result()
File "/usr/local/lib/python3.7/asyncio/coroutines.py", line 120, in coro
res = func(*args, **kw)
File "/home/pi/.homeassistant/custom_components/broadlink_s1c/sensor.py", line 89, in async_setup_platform
for i, sensor in enumerate(raw_data["sensors"]):
TypeError: 'NoneType' object is not subscriptable