Reboot not possible - "Integration error: card"

Hi all,

when trying to reboot Home Assitant via System → Reboot, I get the following error message.
As I have no clue where this is comeing from, I was hoping you could help me with this.

The protocol details:

Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/__init__.py:529
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 19:11:02 (2 occurrences)
Last logged: 19:15:57

[547574402304] The system cannot restart because the configuration is not valid: Integration error: card - Integration 'card' not found.
[547198417840] The system cannot restart because the configuration is not valid: Integration error: card - Integration 'card' not found.
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
    await hass.services.async_call(
  File "/usr/src/homeassistant/homeassistant/core.py", line 1755, in async_call
    task.result()
  File "/usr/src/homeassistant/homeassistant/core.py", line 1792, in _execute_service
    await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
  File "/usr/src/homeassistant/homeassistant/components/hassio/__init__.py", line 529, in async_handle_core_service
    raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Integration error: card - Integration 'card' not found.

Hope I got the right section in the forum.

Does someone have an idea what’s the cause for this?

Thanks,
Chris

Sounds like you added a card definition to your configuration.yaml by mistake.

Look for card: in your configuration.yaml and remove that section.

Big thanks!
Works now.

But the card was set for a reason as I wanted to use the custom weather card in some dashboards.
Would it make more sense to add in the RAW of the Dashboard?

You don’t add cards to configuration.yaml - use the UI editor for the frontend to do that.