core: Error doing job: Task exception was never retrieved

The problem

Describe the bug

Errors are continuously generated in the homeassistant.log.

To Reproduce

There are no concrete steps that can be traced.

Expected behavior

No error message in the log, as the integration works so far from my point of view.

What version of Home Assistant Core has the issue?

core-2023.3.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

alexa

Link to integration documentation on our website

https://www.home-assistant.io/integrations/alexa/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant
Source: components/alexa/state_report.py:146
First occurred: 06:15:34 (256 occurrences)
Last logged: 06:28:22

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/alexa/state_report.py", line 104, in async_entity_state_listener
    await async_send_changereport_message(
  File "/usr/src/homeassistant/homeassistant/components/alexa/state_report.py", line 146, in async_send_changereport_message
    response = await session.post(
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 423, in _request
    url = self._build_url(str_or_url)
  File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 357, in _build_url
    url = URL(str_or_url)
  File "/usr/local/lib/python3.10/site-packages/yarl/_url.py", line 154, in __new__
    raise TypeError("Constructor parameter should be str")
TypeError: Constructor parameter should be str


### Additional information

_No response_

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 16 (8 by maintainers)

Most upvoted comments

See: https://www.home-assistant.io/integrations/alexa.smart_home/#proactive-events Configuring endpoint client and client id is optional. Somewhere in that part you have an error. The long live token in your skill is enough to make Alexa work in HA. I do not use this my self. To be honest, I only have a dev environment set up.