Hi,
after upgrading to 2023.12 my cover entities aren’t available anymore.
My covers definition is like this:
cover:
- platform: command_line
covers:
alles:
friendly_name: 'Alles'
command_open: 'curl "<url>'
command_close: 'curl "<url>'
command_stop: 'curl "<url>'
The log reports the following:
Error while setting up command_line platform for cover
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 361, in _async_setup_platform
await asyncio.shield(task)
File "/usr/src/homeassistant/homeassistant/components/command_line/cover.py", line 43, in async_setup_platform
entities: dict[str, Any] = {slugify(discovery_info[CONF_NAME]): discovery_info}
~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
In the releasenotes I read this:
- Remove platform YAML from Command line (@gjohansson-ST - #103202)
I don’t know if that’s related to the issues I’m having? If so, how can I fix this?
Frank.