home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.03k stars 30.17k forks source link

AttributeError: 'CaseInsensitiveDict' object has no attribute 'ssdp_headers' #60962

Closed TheZoker closed 2 years ago

TheZoker commented 2 years ago

The problem

Since updating to core-2021.12.0b0, I get an error message on my two HA instances, that have yeelights connected.

What version of Home Assistant Core has the issue?

core-2021.12.0b0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

yeelight

Link to integration documentation on our website

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

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/async_upnp_client/search.py", line 83, in _async_on_data
    await self.async_callback(headers)
  File "/usr/src/homeassistant/homeassistant/components/yeelight/scanner.py", line 180, in _async_process_entry
    headers = response.ssdp_headers
AttributeError: 'CaseInsensitiveDict' object has no attribute 'ssdp_headers'

Additional information

No response

probot-home-assistant[bot] commented 2 years ago

yeelight documentation yeelight source (message by IssueLinks)

probot-home-assistant[bot] commented 2 years ago

Hey there @rytilahti, @zewelor, @shenxn, @starkillerog, mind taking a look at this issue as it has been labeled with an integration (yeelight) you are listed as a code owner for? Thanks! (message by CodeOwnersMention)