Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sensor not loading #45

Open
cosmos1978 opened this issue May 15, 2024 · 1 comment
Open

sensor not loading #45

cosmos1978 opened this issue May 15, 2024 · 1 comment

Comments

@cosmos1978
Copy link

I get this error in ym logs

2024-05-15 17:52:09.981 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up command_line platform for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 356, in _async_setup_platform
await asyncio.shield(awaitable)
File "/usr/src/homeassistant/homeassistant/components/command_line/sensor.py", line 49, in async_setup_platform
command: str = sensor_config[CONF_COMMAND]

TypeError: 'NoneType' object is not subscriptable
@aex351
Copy link
Owner

aex351 commented May 15, 2024

This seems to be related to the custom sensor that you have set. I think the requirements got changed slightly and there is an update pending. Other users proposed a change already. Will look into it.

Instead of using the neerslag-card that requires the setup of custom sensors, you could also use the neerslag-app, which is an all-in-one package. It contains both the neerslag-card and the sensors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants