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
69.7k stars 28.85k forks source link

something is blocking from wrapping up the start up phase and reset when I restart my internet box #117327

Open denisb88 opened 1 month ago

denisb88 commented 1 month ago

The problem

When I restart my internet box (Frrebox pop), home assistant reset and restart always. Here is the message in log core 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: sonos.number, lock, radio_browser, zwave_js, xiaomi_aqara, tuya.scene, logbook, roborock.time, systemmonitor.sensor, upnp, zone, alexa_media.notify, hue.switch, netatmo.fan, onboarding, synology_dsm.camera, ping.device_tracker, intent, ring.light, dahua, systemmonitor.binary_sensor, weather, xiaomi_ble.event, notify, schedule, ping, overkiz.alarm_control_panel, map, overkiz.climate, ffmpeg, mydolphin_plus.vacuum, zwave_js.binary_sensor, waqi, frontend, nut.sensor, event, broadlink, roborock.sensor, synology_dsm.button, xiaomi_aqara.switch, apple_tv, script, xiaomi_miio.light, uptimerobot.switch, icloud3.sensor, mqtt.switch, switchbot.sensor, spook.switch, switch_as_x.light, generic.camera, blitzortung.sensor, zwave_js.update, blueprint, google_translate.tts, mipow.sensor, light, calendar, zwave_js.event, carbu_com, tuya.binary_sensor, tuya_local.sensor, solar_optimizer.sensor, battery_notes.sensor, input_text, xiaomi_ble.binary_sensor, open_meteo, tuya.switch, trace, volumio, roborock.number, co2signal, alarm_control_panel, auth, icloud3, oralb, tuya.humidifier, battery_notes.button, ecowitt, mobile_app.sensor, group, xiaomi_miot.fan, mydolphin_plus.number, homeassistant.scene, ecowitt.binary_sensor, my, mqtt.select, humidifier, meteo_france.weather, icloud.sensor, ring.binary_sensor, broadlink.switch, sun.sensor, anker_solix.binary_sensor, mydolphin_plus.sensor, zwave_js.cover, overkiz.light, meross_lan.sensor, yeelight.binary_sensor, alexa_media.alarm_control_panel, xiaomi_miot.water_heater, overkiz.siren, conversation, shelly, cloud.tts, sonos.binary_sensor, plant.sensor, alexa_media.binary_sensor, homeassistant_alerts, moon.sensor, xiaomi_miot.media_player, hassio.sensor, sensor, alexa_media.light, dlna_dmr.media_player, homekit_controller.sensor, wemo, automation, solar_optimizer.switch, adaptive_lighting.switch, tuya_local.climate, water_heater, input_select, mydolphin_plus.select, zwave_js.light, home_connect, dwains_dashboard.sensor, mqtt.button, mipow.number, integration.sensor, cloud.stt, image_upload, dahua.camera, sonos, camera, shelly.light, tuya_local.select, mqtt.number, tuya, spotify, tuya.vacuum, meross_lan, frigate.sensor, spook.time, open_meteo.weather, samsungtv, aurora.sensor, application_credentials, netatmo.climate, anker_solix, watchman.sensor, hue.scene, file_upload, recorder, cloud.binary_sensor, default_config, alexa_media.media_player, xiaomi_aqara.lock, panel_custom, tuya.camera, dlna_dmr, tuya.alarm_control_panel, climate, scene, cast, xiaomi_miot.alarm_control_panel, hassio.binary_sensor, mobile_app.notify, mold_risk_index.sensor, time, esphome, spook.number, lovelace, anker_solix.number, frigate.binary_sensor, co2signal.sensor, dhcp, netatmo.binary_sensor, sonos.switch, netatmo.camera, xiaomi_miot.camera, ring, mipow.light, yeelight, template.switch, synology_dsm, xiaomi_miot.light, api, plant.number, alarmo.alarm_control_panel, google_assistant, hassio, xiaomi_miot.remote, aurora, pollens.sensor, sabnzbd.sensor, shelly.update, input_number, esphome.select, tuya.light, spook.binary_sensor, tuya.button, xiaomi_miot.number, xiaomi_miot, tuya_local.number, pushover, solcast_solar, mold_risk_index, season.sensor, openhome, homekit_controller.binary_sensor, solar_optimizer, hardware, device_tracker, local_calendar, alexa_media.switch, meteo_france.sensor, synology_dsm.update, broadlink.sensor, shelly.event, shelly.climate, frigate.camera, xiaomi_miot.sensor, ring.siren, icloud.device_tracker, counter, home_connect.binary_sensor, xiaomi_miot.button, netatmo.select, stream, mydolphin_plus, samsungtv.remote, dahua.switch, xiaomi_miot.device_tracker, dahua.light, battery_notes, nuki, zeroconf, dahua.select, hue, tuya_local.lock, media_player, tts, template, blitzortung.geo_location, sun, cloud, sabnzbd, roborock.image, siren, threshold.binary_sensor, generic, overkiz.number, websocket_api, cpuspeed.sensor, persistent_notification, dwains_dashboard, powercalc.sensor, roborock, mobile_app.binary_sensor, mqtt.sensor, geo_location, tag, overkiz.binary_sensor, zwave_js.switch, dahua.binary_sensor, switch, zwave_js.sensor, switchbot, xiaomi_miot.switch, energy, hue.light, netatmo.switch, image, ring.camera, frigate.switch, ecowitt.sensor, switch_as_x, mydolphin_plus.binary_sensor, mqtt.binary_sensor, overkiz.switch, nut, plant, forecast_solar.sensor, upnp.binary_sensor, history_stats.sensor, ping.sensor, integration, ibeacon.device_tracker, uptimerobot, assist_pipeline, hue.binary_sensor, webhook, config, spook.event, uptimerobot.sensor, waqi.sensor, search, watchman, home_connect.sensor, xiaomi_aqara.light, xiaomi_miot.humidifier, timer, frigate.image, met.weather, ibeacon.sensor, ios.sensor, xiaomi_miio, system_health, shelly.sensor, min_max.sensor, rest_command, roborock.button, ios, xiaomi_miot.select, spook, repairs, alexa_media, solcast_solar.select, blitzortung, dlna_dms, forecast_solar, ios.notify, ring.sensor, mqtt.light, home_connect.light, tuya.number, meross_lan.switch, esphome.update, xiaomi_aqara.cover, yeelight.light, shelly.button, homeassistant, icloud3.device_tracker, filter.sensor, spotify.media_player, cover, overkiz.lock, hue.sensor, template.cover, input_boolean, spook.button, mobile_app, aurora.binary_sensor, sonos.sensor, update, thread, template.sensor, ring.switch, utility_meter, bluetooth_adapters, homekit, xiaomi_miot.climate, overkiz.select, roborock.select, pollens, xiaomi_miot.vacuum, select, zwave_js.select, frigate.number, meross_lan.light, tuya_local.switch, binary_sensor, shelly.switch, roborock.vacuum, ring.button, xiaomi_aqara.binary_sensor, zwave_js.number, cpuspeed, overkiz.scene, template.binary_sensor, media_source, fan, moon, mobile_app.device_tracker, netatmo, frigate, openplantbook, adaptive_lighting, wake_word, alexa_media.sensor, tuya.sensor, backup, hue.event, esphome.button, utility_meter.sensor, powercalc, xiaomi_ble, season, battery_notes.binary_sensor, uptimerobot.binary_sensor, alexa, input_button, icloud, ondilo_ico, overkiz.water_heater, roborock.binary_sensor, tuya.fan, netatmo.cover, broadlink.remote, mqtt.lock, tuya_local, samsungtv.media_player, overkiz.sensor, spook.sensor, ssdp, history, tuya.select, synology_dsm.binary_sensor, spook.select, zwave_js.button, netatmo.sensor, network, tuya.siren, min_max, http, synology_dsm.sensor, vacuum, overkiz.button, mqtt.update, anker_solix.button, oralb.sensor, xiaomi_miot.text, device_automation, nuki_ng, shelly.binary_sensor, anker_solix.sensor, logger, hacs, home_connect.switch, shelly.cover, apple_tv.media_player, esphome.switch, pushover.notify, apple_tv.remote, tuya_local.binary_sensor, frigate.update, upnp.sensor, homekit_controller, text, switchbot.switch, hassio.update, esphome.binary_sensor, ping.binary_sensor, mipow, number, xiaomi_miot.binary_sensor, overkiz, group.light, diagnostics, energy.sensor, proximity, bluetooth, stt, xiaomi_miot.cover, tuya.cover, meteo_france, xiaomi_ble.sensor, local_calendar.calendar, influxdb, meross_lan.update, sonos.media_player, met, homekit_controller.button, system_log, input_datetime, anker_solix.select, person, mqtt, tuya.climate, ibeacon, mydolphin_plus.light, remote, anker_solix.switch, synology_dsm.switch, solcast_solar.sensor, button, esphome.sensor, cast.media_player, systemmonitor, overkiz.cover, analytics, roborock.switch, alarmo, usb, xiaomi_aqara.sensor, proximity.sensor, carbu_com.sensor, netatmo.light, hacs.sensor The system is waiting for tasks: {<Task pending name='Task-20325' coro=<MerossDevice._async_polling_callback() running at /config/custom_components/meross_lan/meross_device.py:1346> wait_for=<Future pending cb=[BaseSelectorEventLoop._sock_write_done(30, handle=<Handle BaseS...8.1.22', 80))>)(), Task.task_wakeup()]> cb=[set.remove()]>, <Task pending name='Task-21343' coro=<MerossDevice._async_polling_callback() running at /config/custom_components/meross_lan/meross_device.py:1350> wait_for= cb=[set.remove()]>, <Task pending name='Task-21402' coro=<MerossDevice._async_polling_callback() running at /config/custom_components/meross_lan/meross_device.py:1346> wait_for=<Future pending cb=[BaseSelectorEventLoop._sock_write_done(120, handle=<Handle BaseS...8.1.55', 80))>)(), Task.task_wakeup()]> cb=[set.remove()]>, <Task cancelling name='Task-18146' coro=<MerossDevice._async_polling_callback() running at /config/custom_components/meross_lan/meross_device.py:1340> wait_for=<Future pending cb=[BaseSelectorEventLoop._sock_write_done(16, handle=<Handle BaseS....1.237', 80))>)(), Task.task_wakeup()]> cb=[set.remove()]>, <Task cancelling name='Task-19353' coro=<MerossDevice._async_polling_callback() running at /config/custom_components/meross_lan/meross_device.py:1350> wait_for= cb=[set.remove()]>, <Task pending name='Task-21401' coro=<MerossDevice._async_polling_callback() running at /config/custom_components/meross_lan/meross_device.py:1346> wait_for=<Future pending cb=[BaseSelectorEventLoop._sock_write_done(52, handle=<Handle BaseS...8.1.54', 80))>)(), Task.task_wakeup()]> cb=[set.remove()]>, <Task pending name='Task-21467' coro=<MerossDevice._async_polling_callback() running at /config/custom_components/meross_lan/meross_device.py:1346> wait_for=<Future pending cb=[BaseSelectorEventLoop._sock_write_done(66, handle=<Handle BaseS....1.114', 80))>)(), Task.task_wakeup()]> cb=[set.remove()]>, <Task pending name='Task-19587' coro=<MerossDevice._async_polling_callback() running at /config/custom_components/meross_lan/meross_device.py:1350> wait_for= cb=[set.remove()]>}

What version of Home Assistant Core has the issue?

core-2024.5.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

I don't know

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?

No response

Additional information

No response

bdraco commented 1 month ago

Please continue at https://github.com/krahabb/meross_lan/issues/new?assignees=&labels=&projects=&template=issue.md

The custom component needs to use entry.async_create_background_task for its polling or Home Assistant will wait forever for the polling to finish at startup

https://github.com/home-assistant/core/blob/d06932bbc2a4643f391ef9ad4412e3fcf1319540/homeassistant/components/shelly/coordinator.py#L366

Vicente-Ch commented 1 month ago

Tengo el mismo error: Registrador: homeassistant.core Fuente: core.py:533 Ocurrió por primera vez: 08:07:42 (1 ocurrencias) Último inicio de sesión: 08:07:42

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: homeassistant.scene, camera, forecast_solar.sensor, hassio, dhcp, sun.sensor, usb, scene, script, ping.binary_sensor, google_translate.tts, stt, template.sensor, media_player, select, balance_neto.sensor, browser_mod.camera, weather, timer, shelly.update, tuya.sensor, update, nodered.sensor, browser_mod.sensor, template, image_upload, history, tasmota.fan, valve, co2signal.sensor, my, time_date.sensor, logger, shelly.binary_sensor, zone, met, mqtt.switch, shelly.sensor, octopus_spain, hassio.sensor, default_config, auth, met.weather, button, hassio.binary_sensor, tuya.siren, tasmota.sensor, tuya.button, counter, season, edata.sensor, matter.lock, hacs, webostv, group, balance_neto, tasmota.binary_sensor, huawei_solar.switch, hardware, assist_pipeline, xiaomi_miio, local_calendar, mobile_app.notify, cast, tuya.climate, onboarding, config, tuya.binary_sensor, repairs, switch_as_x, ping.sensor, matter.climate, matter.light, nodered.number, nodered.binary_sensor, webostv.media_player, webhook, nodered.switch, device_tracker, browser_mod.media_player, shelly.valve, shelly, tts, event, persistent_notification, sun, qingping.binary_sensor, sensor, input_select, intent, wake_word, file_upload, lovelace, input_boolean, mobile_app.binary_sensor, number, tuya.switch, trace, upnp.binary_sensor, device_automation, cloud, meteoclimatic, co2signal, workday.binary_sensor, browser_mod.light, ibeacon, person, shelly.light, tuya, automation, analytics, tuya.select, tuya.vacuum, forecast_solar, matter.binary_sensor, matter.cover, ping, calendar, http, edata, tuya.alarm_control_panel, huawei_solar.number, ibeacon.sensor, tuya.light, system_health, network, huawei_solar, utility_meter.sensor, xiaomi_miio.switch, shelly.switch, lock, qingping, homeassistant, huawei_solar.sensor, switch_as_x.light, binary_sensor, input_number, tasmota.light, matter, qingping.sensor, homeassistant_alerts, energy.sensor, logbook, tuya.scene, recorder, blueprint, shelly.climate, bluetooth, siren, hassio.update, conversation, utility_meter, octopus_spain.sensor, season.sensor, webostv.notify, localtuya.switch, input_button, mqtt, energy, tuya.number, api, ffmpeg, schedule, upnp.sensor, tuya.fan, search, stream, alarm_control_panel, notify, cast.media_player, media_source, shelly.button, local_calendar.calendar, humidifier, nodered, shelly.cover, climate, tasmota.switch, pvpc_hourly_pricing, application_credentials, zeroconf, upnp, tag, system_log, shelly.event, vacuum, panel_custom, tasmota, localtuya, fan, integration.sensor, influxdb, browser_mod, mqtt.sensor, tuya.humidifier, radio_browser, switch, cloud.tts, mobile_app, integration, ssdp, huawei_solar.select, backup, generic_thermostat.climate, ping.device_tracker, frontend, browser_mod.binary_sensor, bluetooth_adapters, matter.sensor, input_datetime, pvpc_hourly_pricing.sensor, websocket_api, group.light, map, input_text, matter.switch, tuya.camera, mobile_app.sensor, ibeacon.device_tracker, workday, tasmota.cover, mobile_app.device_tracker, diagnostics, light, hacs.sensor, matter.event, ipp, tuya.cover, cover The system is waiting for tasks: {<Task pending name='Task-2058' coro=<async_setup_entry..async_first_refresh() running at /config/custom_components/edata/sensor.py:181> wait_for=<Future pending cb=[_chain_future.._call_check_cancel() at /usr/local/lib/python3.12/asyncio/futures.py:387, <1 more>, Task.task_wakeup()]> cb=[set.remove()]>}

bdraco commented 1 month ago

Tengo el mismo error:

Registrador: homeassistant.core

Fuente: core.py:533

Ocurrió por primera vez: 08:07:42 (1 ocurrencias)

Último inicio de sesión: 08:07:42

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: homeassistant.scene, camera, forecast_solar.sensor, hassio, dhcp, sun.sensor, usb, scene, script, ping.binary_sensor, google_translate.tts, stt, template.sensor, media_player, select, balance_neto.sensor, browser_mod.camera, weather, timer, shelly.update, tuya.sensor, update, nodered.sensor, browser_mod.sensor, template, image_upload, history, tasmota.fan, valve, co2signal.sensor, my, time_date.sensor, logger, shelly.binary_sensor, zone, met, mqtt.switch, shelly.sensor, octopus_spain, hassio.sensor, default_config, auth, met.weather, button, hassio.binary_sensor, tuya.siren, tasmota.sensor, tuya.button, counter, season, edata.sensor, matter.lock, hacs, webostv, group, balance_neto, tasmota.binary_sensor, huawei_solar.switch, hardware, assist_pipeline, xiaomi_miio, local_calendar, mobile_app.notify, cast, tuya.climate, onboarding, config, tuya.binary_sensor, repairs, switch_as_x, ping.sensor, matter.climate, matter.light, nodered.number, nodered.binary_sensor, webostv.media_player, webhook, nodered.switch, device_tracker, browser_mod.media_player, shelly.valve, shelly, tts, event, persistent_notification, sun, qingping.binary_sensor, sensor, input_select, intent, wake_word, file_upload, lovelace, input_boolean, mobile_app.binary_sensor, number, tuya.switch, trace, upnp.binary_sensor, device_automation, cloud, meteoclimatic, co2signal, workday.binary_sensor, browser_mod.light, ibeacon, person, shelly.light, tuya, automation, analytics, tuya.select, tuya.vacuum, forecast_solar, matter.binary_sensor, matter.cover, ping, calendar, http, edata, tuya.alarm_control_panel, huawei_solar.number, ibeacon.sensor, tuya.light, system_health, network, huawei_solar, utility_meter.sensor, xiaomi_miio.switch, shelly.switch, lock, qingping, homeassistant, huawei_solar.sensor, switch_as_x.light, binary_sensor, input_number, tasmota.light, matter, qingping.sensor, homeassistant_alerts, energy.sensor, logbook, tuya.scene, recorder, blueprint, shelly.climate, bluetooth, siren, hassio.update, conversation, utility_meter, octopus_spain.sensor, season.sensor, webostv.notify, localtuya.switch, input_button, mqtt, energy, tuya.number, api, ffmpeg, schedule, upnp.sensor, tuya.fan, search, stream, alarm_control_panel, notify, cast.media_player, media_source, shelly.button, local_calendar.calendar, humidifier, nodered, shelly.cover, climate, tasmota.switch, pvpc_hourly_pricing, application_credentials, zeroconf, upnp, tag, system_log, shelly.event, vacuum, panel_custom, tasmota, localtuya, fan, integration.sensor, influxdb, browser_mod, mqtt.sensor, tuya.humidifier, radio_browser, switch, cloud.tts, mobile_app, integration, ssdp, huawei_solar.select, backup, generic_thermostat.climate, ping.device_tracker, frontend, browser_mod.binary_sensor, bluetooth_adapters, matter.sensor, input_datetime, pvpc_hourly_pricing.sensor, websocket_api, group.light, map, input_text, matter.switch, tuya.camera, mobile_app.sensor, ibeacon.device_tracker, workday, tasmota.cover, mobile_app.device_tracker, diagnostics, light, hacs.sensor, matter.event, ipp, tuya.cover, cover The system is waiting for tasks: {<Task pending name='Task-2058' coro=<async_setup_entry..async_first_refresh() running at /config/custom_components/edata/sensor.py:181> wait_for=<Future pending cb=[_chain_future.._call_check_cancel() at /usr/local/lib/python3.12/asyncio/futures.py:387, <1 more>, Task.task_wakeup()]> cb=[set.remove()]>}

at /config/custom_components/edata/sensor.py:181

Please report the issue to the edata custom component