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.2k stars 30.23k forks source link

Tibber sensors missing after 12.2.7 update #84265

Closed stokkanda closed 1 year ago

stokkanda commented 1 year ago

The problem

Most of the sensor in the Tibber integration became unavailable after updating core to 12.2.7. Deleted the integration and reinstalled, where only 5 sensors now are available. Power consumption is not available anymore.

What version of Home Assistant Core has the issue?

12.2.7

What was the last working version of Home Assistant Core?

12.2.6

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Tibber

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 year ago

Hey there @danielhiversen, mind taking a look at this issue as it has been labeled with an integration (tibber) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `tibber` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Change the title of the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign tibber` Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


tibber documentation tibber source (message by IssueLinks)

Danielhiversen commented 1 year ago

Errors in the log?

Engel7955 commented 1 year ago

https://developer.tibber.com/docs/overview#breaking-websocket-change

Engel7955 commented 1 year ago

The communication needs to be changed

Danielhiversen commented 1 year ago

Do not think that is related. It works fine here.

Engel7955 commented 1 year ago

Until yesterday, everything has worked since today, no more devices

Danielhiversen commented 1 year ago

Errors in the log?

T3chN1cian commented 1 year ago

Logger: homeassistant.config_entries Source: components/tibber/init.py:91 First occurred: December 19, 2022 at 16:57:00 (1 occurrences) Last logged: December 19, 2022 at 16:57:00

Error unloading entry NAME for tibber Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 515, in async_unload result = await component.async_unload_entry(hass, self) File "/usr/src/homeassistant/homeassistant/components/tibber/init.py", line 91, in async_unload_entry await tibber_connection.rt_disconnect() File "/usr/local/lib/python3.10/site-packages/tibber/init.py", line 81, in rt_disconnect await self.sub_manager.close_async() File "/usr/local/lib/python3.10/site-packages/gql/client.py", line 651, in close_async if isinstance(self.session, ReconnectingAsyncClientSession): AttributeError: 'Client' object has no attribute 'session'

Danielhiversen commented 1 year ago

@T3chN1cian Any debug log from before that?

Danielhiversen commented 1 year ago

@T3chN1cian Do you have a Tibber Pulse?

T3chN1cian commented 1 year ago

I restarted HA, now it works. Yes I have Tibber Pulse.

Seems to be working now.

stokkanda commented 1 year ago

Update - after some error search I found connection issues between Tibber pulse and the server. Reset Tibber pulse, added again and restarted HA, now displaying 15 sensors. All working fine now. Thanks