Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95419

"Unable to set up dependencies of telegram" after upgrade to 108.3

$
0
0

@Bob_NL wrote:

After upgrading to 108.3, my Telegram component seems to have stopped working.
Logfile:

2020-04-13 11:00:04 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of telegram. Setup failed for dependencies: telegram_bot
2020-04-13 11:00:04 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform telegram.notify: Could not set up all dependencies.
2020-04-13 11:00:04 ERROR (MainThread) [homeassistant.components.notify] Unknown notification service specified
2020-04-13 13:40:54 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall script.manual_reboot (c:b3af184f0786481a8143401f38133a0a)>
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1240, in _safe_execute
    await self._execute_service(handler, service_call)
  File "/usr/src/homeassistant/homeassistant/core.py", line 1255, in _execute_service
    await handler.func(service_call)
  File "/usr/src/homeassistant/homeassistant/components/script/__init__.py", line 207, in service_handler
    await script.async_turn_on(variables=service.data, context=service.context)
  File "/usr/src/homeassistant/homeassistant/components/script/__init__.py", line 284, in async_turn_on
    await self.script.async_run(kwargs.get(ATTR_VARIABLES), context)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 802, in async_run
    await run.async_run()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 523, in async_run
    await self._async_run()
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 540, in _async_run
    await self._async_step(log_exceptions=not propagate_exceptions)
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 154, in _async_step
    self, f"_async_{cv.determine_script_action(self._action)}_step"
  File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 624, in _async_call_service_step
    *self._prep_call_service_step(), blocking=True, context=self._context
  File "/usr/src/homeassistant/homeassistant/core.py", line 1207, in async_call
    raise ServiceNotFound(domain, service) from None
homeassistant.exceptions.ServiceNotFound: Unable to find service notify/telegram

I use this component a lot but the above error originates from executing this script:

manual_reboot:
    sequence:
      - service: notify.telegram
        data:
          message: 'Manual reboot starting..' 
      - service: hassio.host_reboot

Config:

notify:
  - name: Telegram
    platform: telegram
    api_key: !secret telegram_api_key
    chat_id: !secret telegram_chat_id

I could not find any breaking changes on the Notify and/or Telegram component. Anyone else having issues?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95419

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>