After performing the Home Assistant Operating System update yesterday, my Telegram integration started to show an error. Had to comment out the configuration in yaml to restart HA.
I tried resetting the HA, resetting the hardware, and nothing worked. I get the following error when I go back to the configuration:
Configuration Validation
Platform error notify.telegram - Exception importing homeassistant.components.telegram.notify
Platform error notify.telegram - Exception importing homeassistant.components.telegram.notify
Component error: telegram_bot - Exception importing homeassistant.components.telegram_bot
Log
Logger: homeassistant.components.websocket_api.http.connection
Source: components/hassio/init.py:705
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 21:09:07 (1 occurrences)
Last logged: 21:09:07
[140604409755344] The system cannot restart because the configuration is not valid: Platform error notify.telegram - Exception importing homeassistant.components.telegram.notify Platform error notify.telegram - Exception importing homeassistant.components.telegram.notify Component error: telegram_bot - Exception importing homeassistant.components.telegram_bot
Traceback (most recent call last): File “/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py”, line 202, in handle_call_service await hass.services.async_call( File “/usr/src/homeassistant/homeassistant/core.py”, line 1738, in async_call task.result() File “/usr/src/homeassistant/homeassistant/core.py”, line 1775, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File “/usr/src/homeassistant/homeassistant/components/hassio/init.py”, line 705, in async_handle_core_service raise HomeAssistantError( homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Platform error notify.telegram - Exception importing homeassistant.components.telegram.notify Platform error notify.telegram - Exception importing homeassistant.components.telegram.notify Component error: telegram_bot - Exception importing homeassistant.components.telegram_bot
Can anyone tell me how to fix it?