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.65k stars 30.41k forks source link

Something is blocking Home Assistant from wrapping up the start up phase #66012

Closed uSlackr closed 2 years ago

uSlackr commented 2 years ago

The problem

I've noticed HA taking longer to restart post 2022.2 than prior releases. Running on Blue device.

The following integrations have long startup times: HA Core: 47s Automations: 38s Default config: 28s TP-Link Kasa: 19s HA Supervisor: 7s

I'm reluctant to open an issue except the logs told me to :-)

Logger: homeassistant.core Source: core.py:331 First occurred: 8:46:31 AM (1 occurrences) Last logged: 8:46:31 AM

Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at https://github.com/home-assistant/core/issues: counter, input_select, climate, calendar, mobile_app, frigate,

See log section for more ### What version of Home Assistant Core has the issue? 2022.2.3 ### 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 _No response_ ### Link to integration documentation on our website _No response_ ### Diagnostics information _No response_ ### Example YAML snippet _No response_ ### Anything in the logs that might be useful for us? ```txt Logger: homeassistant.core Source: core.py:331 First occurred: 8:46:31 AM (1 occurrences) Last logged: 8:46:31 AM Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at https://github.com/home-assistant/core/issues: counter, input_select, climate, calendar, mobile_app, frigate, zwave_js, media_player.homekit_controller, sensor.roomba, media_player.plex, switch.sonos, select, sensor.plex, sensor.mobile_app, camera.frigate, map, sensor.fastdotcom, sensor.netgear, notify.pushbullet, sensor.zha, select.zha, tts.microsoft, onboarding, device_automation, device_tracker.mobile_app, sonos, speedtestdotnet, sensor.local_ip, weather.nws, media_player, binary_sensor.zha, sensor.modbus, energy, button, switch.smartthings, websocket_api, binary_sensor.smartthings, number.zha, switch.zwave_js, siren, stt, climate.zha, sensor.template, sensor.hacs, climate.homekit_controller, binary_sensor.frigate, netgear, binary_sensor.roomba, local_ip, camera, history, scene, lock.smartthings, alarm_control_panel.zha, diagnostics, timer, api, system_health, fan, button.tuya, reolink_dev, met, tts, sensor.upnp, template, automation, input_text, light.tuya, cover.zha, calendar.caldav, switch.frigate, input_number, cover, button.homekit_controller, humidifier, sensor.speedtestdotnet, binary_sensor.mobile_app, fan.smartthings, binary_sensor.upnp, frontend, cover.tuya, scene.homeassistant, switch.reolink_dev, auth, humidifier.tuya, switchbot, remote, switch.smartthinq_sensors, binary_sensor.reolink_dev, ffmpeg, zeroconf, light.smartthings, sensor.switchbot, tuya, config, sensor.reolink_dev, smartthings, binary_sensor.hassio, logbook, binary_sensor.smartthinq_sensors, light, light.zwave_js, binary_sensor.tuya, plex, notify.mobile_app, sensor.energy, sensor.tuya, vacuum.tuya, cloud, my, light.wled, calendar.o365, switch.tuya, cover.smartthings, trace, switch.mqtt, sensor.smartthings, homekit_controller, tplink, dhcp, o365, dlna_dmr, media_player.sonos, fan.tuya, number.tuya, image, select.zwave_js, sensor.hassio, stream, alarm_control_panel, script, switch.zha, switch.wled, modbus, button.wled, nws, homekit, sensor.anniversary, fan.zha, binary_sensor.updater, lyric, input_button, sensor.frigate, device_tracker.netgear, sun, cert_expiry, configurator, group, vacuum.roomba, upnp, roku, notify.o365, sensor.o365, webhook, analytics, select.wled, climate.tuya, zha, number, number.wled, default_config, device_tracker, blueprint, sensor.sonos, sensor.roku, media_source, homeassistant, binary_sensor.cloud, recorder, fastdotcom, lovelace, influxdb, weather, hacs, climate.smartthinq_sensors, notify, remote.roku, sensor.zwave_js, binary_sensor.roku, http, input_boolean, person, sensor.homekit_controller, system_log, select.tuya, sensor.tplink, zone, button.zha, lock.zha, sensor.smartthinq_sensors, scene.smartthings, vacuum, alexa, tag, roomba, ssdp, tts.cloud, sensor.wled, binary_sensor, sensor.systemmonitor, media_player.roku, number.sonos, binary_sensor.wled, alarm_control_panel.tuya, input_datetime, binary_sensor.modbus, climate.smartthings, media_player.dlna_dmr, switch, lock, light.zha, switch.switchbot, device_tracker.zha, smartthinq_sensors, search, hassio, binary_sensor.sonos, usb, light.tplink, persistent_notification, camera.tuya, camera.reolink_dev, scene.tuya, switch.tplink, prometheus, wled, updater, network, mqtt, sensor.nws, weather.met, siren.zha, sensor, siren.tuya ``` ### Additional information _No response_
bcutter commented 2 years ago

Experience the same. 3 minutes restart time on HA 2021.12.10, 6 minutes on HA 2022.2.6.

bdraco commented 2 years ago

Experience the same. 3 minutes restart time on HA 2021.12.10, 6 minutes on HA 2022.2.6.

@bcutter Please post your integration list from the Please report the following info line.

bcutter commented 2 years ago

Sorry. Couldn't replicate it so far: don't see this error message in log.

Only the outcome (double restart duration) is "the same".

uSlackr commented 2 years ago

This was fixed in one of the updates this month. At some point the Automations integration dropped from taking 30 seconds to initialize down to 1.5s.