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.72k stars 30.45k forks source link

No update available to skip #122070

Open pxFIN opened 3 months ago

pxFIN commented 3 months ago

The problem

I am on beta channel (feedparser)

HA keeps reminding me i should update to stable version.. sometimes using reboot can get rid of the announcement

When trying to skip the stable update i keep getting no update available to skip

What version of Home Assistant Core has the issue?

2024-7.2

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

No response

Link to integration documentation on our website

No response

Diagnostics information

Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:241 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 11:10:25 (1 occurrences) Last logged: 11:10:25 [547906879152] Unexpected exception

Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2731, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2774, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call result = await task ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 163, in async_skip await entity.async_skip() File "/usr/src/homeassistant/homeassistant/components/update/init.py", line 337, in async_skip raise HomeAssistantError(f"No update available to skip for {self.name}") homeassistant.exceptions.HomeAssistantError: No update available to skip for Feedparser update

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 3 months ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (websocket_api) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `websocket_api` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign websocket_api` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


websocket_api documentation websocket_api source (message by IssueLinks)

joostlek commented 3 months ago

What is feedparser?

pxFIN commented 3 months ago

https://github.com/custom-components/feedparser

Yes i know its custom component which leads to thinking if this problem is HA or component related

joostlek commented 3 months ago

It maybe has to do with how the version of feedparser is ordered

pxFIN commented 3 months ago

Most definitely so i am thinking if theres something i can do to fix it or is it something in HA or even in the component itself

Since HA is giving the error message its reasonable i start from there

joostlek commented 3 months ago

what is the state of the entity?

pxFIN commented 3 months ago

image

joostlek commented 3 months ago

Looks about right. It should create an update message now iirc

pxFIN commented 3 months ago

But if you are on beta channel why it keeps reminding to stable channel when i can't skip the reminder ?

It would be OK when new stable version is released but as you can see from the version numbers.. beta is still ongoing

joostlek commented 3 months ago

Yes, but the thing is, the update entity says that both the latest and installed version is the same. Where do you see the update thing?

pxFIN commented 3 months ago

Here on the main settings screen image

Weird thing is update notification doesnt come all the time visible.. always when i manually click check updates from right top corner.. even then sometimes i cant see it .. sometimes it comes to haunt me and i cant skip it.. when i see it i cant get rid of it other than HA restart

joostlek commented 3 months ago

Please share the moment when you have an update ready and show both the update thing and the state

pxFIN commented 3 months ago

Ok

cvandingelen commented 3 months ago

Screenshot_20240720-215757 I'm not on the beta, but have a similar issue. Screenshot above shows there is an update available. Screenshot_20240720-215812 And this screenshot shows the error. In the logs I get: `Logger: homeassistant.components.websocket_api.http.connection Source: components/websocket_api/commands.py:241 integration: Home Assistant WebSocket API (documentation, issues) First occurred: 21:53:21 (8 occurrences) Last logged: 22:00:21

[281472257418736] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2731, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2774, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/google_assistant_sdk/init.py", line 125, in send_text_command command_response_list = await async_send_text_commands( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/google_assistant_sdk/helpers.py", line 82, in async_send_text_commands resp = await hass.async_add_executor_job(assistant.assist, command) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/gassist_text/textinput.py", line 125, in assist for resp in self.assistant.Assist(iter_assist_requests(), self.deadline): File "/usr/local/lib/python3.12/site-packages/grpc/_channel.py", line 541, in next return self._next() ^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/grpc/_channel.py", line 967, in _next raise self grpc._channel._MultiThreadedRendezvous: <_MultiThreadedRendezvous of RPC that terminated with: status = StatusCode.RESOURCE_EXHAUSTED details = "Quota exceeded for quota metric 'embedded-assistant-prod/converse_requests' and limit 'ConverseRequestsPerDayPerProject' of service 'embeddedassistant.googleapis.com' for consumer 'project_number:1025529926150'." debug_error_string = "UNKNOWN:Error received from peer ipv4:172.217.17.10:443 {grpc_message:"Quota exceeded for quota metric \'embedded-assistant-prod/converse_requests\' and limit \'ConverseRequestsPerDayPerProject\' of service \'embeddedassistant.googleapis.com\' for consumer \'project_number:1025529926150\'.", grpc_status:8, created_time:"2024-07-20T21:53:21.550374631+02:00"}"

`

joostlek commented 3 months ago

The logs do not match with the event The error raised is also explaining what happens and what you should do

So your comment is not related to the original problem

cvandingelen commented 3 months ago

Ow Yeah, it clearly explains what to do, especially since it an: [281472257418736] Unexpected exception Traceback (most recent call last):

Maybe I should: response = await hass.services.async_call( So I should just wait. The problem is there but it will go away if you wait (that's sarcasm). So please, help me out here if you think the log is so self explaining. I thought that it had anything to do with it, because, aside from the log then, it's the same thing that happens (telling there's an update while there is not or while failing to install it)

joostlek commented 3 months ago

Please open a separate issue for this since this is not related to this issue

pxFIN commented 2 months ago

So now i have the same situation.. this happened when i manually clicked check updates from up right corner

feedparser state

image

Update notification in settings

image

Error message is still the same

Logger: homeassistant.components.websocket_api.http.connection
Source: components/websocket_api/commands.py:241
integration: Home Assistant WebSocket API ([documentation](https://www.home-assistant.io/integrations/websocket_api), [issues](https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+websocket_api%22))
First occurred: 13:05:08 (1 occurrences)
Last logged: 13:05:08
[547478129536] Unexpected exception

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 241, in handle_call_service
    response = await hass.services.async_call(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2731, in async_call
    response_data = await coro
                    ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/core.py", line 2774, in _execute_service
    return await target(service_call)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 999, in entity_service_call
    single_response = await _handle_entity_call(
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1071, in _handle_entity_call
    result = await task
             ^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 163, in async_skip
    await entity.async_skip()
  File "/usr/src/homeassistant/homeassistant/components/update/__init__.py", line 337, in async_skip
    raise HomeAssistantError(f"No update available to skip for {self.name}")
homeassistant.exceptions.HomeAssistantError: No update available to skip for Feedparser update