core: Timeout fetching homeassistant_alerts data

The problem

on each restart (and only then) this is in the log not using default_config: but configured as in Yaml box

What version of Home Assistant Core has the issue?

2012.12.0b1

What was the last working version of Home Assistant Core?

2022.10 (this started in .11)

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Alerts

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

bluetooth:
config:
counter:
dhcp:
energy:
hardware:
homeassistant_alerts:
image:
input_boolean:
input_button:
input_datetime:
input_number:
input_select:
input_text:


Anything in the logs that might be useful for us?

Logger: homeassistant.components.homeassistant_alerts
Source: helpers/update_coordinator.py:201 
Integration: Home Assistant Alerts (documentation, issues) 
First occurred: 05:07:35 (1 occurrences) 
Last logged: 05:07:35

Timeout fetching homeassistant_alerts data

Additional information

really nothing else to go on

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 7
  • Comments: 42 (6 by maintainers)

Most upvoted comments

Same 2023.1.2

i have same problem

2023-03-18 11:55:51.640 ERROR (MainThread) [homeassistant.components.homeassistant_alerts] Timeout fetching homeassistant_alerts data

image

I use it only on LAN, maximum through VPN if I’m out of the house.

This error shows only one time, after HA restart… Thats it, but it is brain annoying 😄

Not an ideal solution, but for convenience you could at least filter out the error from the logger:

logger:
  filters:
    homeassistant.components.homeassistant_alerts:
      - "Timeout fetching homeassistant_alerts data"

getting same.

Logger: homeassistant.components.homeassistant_alerts Source: helpers/update_coordinator.py:226 Integration: Home Assistant Alerts (documentation, issues) First occurred: 8:35:34 AM (1 occurrences) Last logged: 8:35:34 AM

Timeout fetching homeassistant_alerts data

Version | core-2023.4.6 Installation Type | Home Assistant OS

Same issue for me when I reboot HA. Seems the 10 seconds timeout is hit in this case causing the error.

I am wondering if the timeout could simply be increased? Could it also help to move the setup to EVENT_HOMEASSISTANT_STARTED instead of EVENT_HOMEASSISTANT_START? Just 2 things coming to my mind when I look at the code