HA automatically reverts to old version after update

I normally update HA, HAOS and addons on a very regular basis, usually weekly as the new Year of the Voice releases came out last year. I’m excited to be on the bleeding edge, and normally this has not been a problem.

However, as of 2024.3.3 every time I update a few minutes later the system downgrades back to 2024.3.3 automatically.

I have tried deleting the database, thinking that it was a DB conversion problem, but it created a new empty database and reverted to 3.3 anyway.

I have rebooted. I even rebuilt a new instance of HA on a new version, and then restored from backup which reverted back to 2024.3.3

How do I find out what is triggering the downgrade, and how can I fix it?

Logs please, else we are all guessing.

2024-07-17 17:32:50.462 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dyson_local which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.463 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration holidays which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.464 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration battery_notes which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.465 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration plex_recently_added which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.466 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.466 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration dreame_vacuum which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.467 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.468 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration tplink_deco which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.468 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration opensprinkler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.469 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alexa_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.470 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration davis_vantage which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.470 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration meteobridge which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.471 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration presence_simulation which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.471 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.472 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration fordpass which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:50.473 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartir which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2024-07-17 17:32:54.082 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to listdir with args ('/config/www/upcoming-media-card-images/plex/Plex_Recently_Added/',) inside the event loop by custom integration 'plex_recently_added' at custom_components/plex_recently_added/sensor.py, line 292: os.listdir(directory))) (offender: /config/custom_components/plex_recently_added/sensor.py, line 292: os.listdir(directory)))), please create a bug report at https://github.com/NemesisRE/sensor.plex_recently_added
For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#listdir
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 727, in _async_add_entity
    await entity.async_device_update(warning=False)
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1296, in async_device_update
    await self.async_update()
  File "/config/custom_components/plex_recently_added/sensor.py", line 292, in async_update
    os.listdir(directory)))

2024-07-17 17:32:55.367 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/device.py:34: SyntaxWarning: invalid escape sequence '\s'
  INSTALL_RESULT_PATTERN = "(Success|Failure|Error)\s?(.*)"

2024-07-17 17:32:55.369 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/command/transport/__init__.py:95: SyntaxWarning: invalid escape sequence '\['
  result_pattern = "^\[([\s\S]*?)\]: \[([\s\S]*?)\]\r?$"

2024-07-17 17:32:55.375 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:35: SyntaxWarning: invalid escape sequence '\s'
  pattern = "ACTIVITY\s([\w\.]+)/([\w\.]+)\s[\w\d]+\spid=([\d]+)"

2024-07-17 17:32:55.375 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:48: SyntaxWarning: invalid escape sequence '\s'
  total_meminfo_re = re.compile('\s*TOTAL\s*(?P<pss>\d+)'

2024-07-17 17:32:55.376 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:49: SyntaxWarning: invalid escape sequence '\s'
  '\s*(?P<private_dirty>\d+)'

2024-07-17 17:32:55.376 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:50: SyntaxWarning: invalid escape sequence '\s'
  '\s*(?P<private_clean>\d+)'

2024-07-17 17:32:55.376 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:51: SyntaxWarning: invalid escape sequence '\s'
  '\s*(?P<swapped_dirty>\d+)'

2024-07-17 17:32:55.376 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:52: SyntaxWarning: invalid escape sequence '\s'
  '\s*(?P<heap_size>\d+)'

2024-07-17 17:32:55.376 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:53: SyntaxWarning: invalid escape sequence '\s'
  '\s*(?P<heap_alloc>\d+)'

2024-07-17 17:32:55.376 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:54: SyntaxWarning: invalid escape sequence '\s'
  '\s*(?P<heap_free>\d+)')

2024-07-17 17:32:55.376 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:85: SyntaxWarning: invalid escape sequence '\d'
  pattern = "userId=([\d]+)"

2024-07-17 17:32:55.376 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/utils.py:102: SyntaxWarning: invalid escape sequence '\d'
  pattern = "versionName=([\d\.]+)"

2024-07-17 17:32:55.378 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/wm.py:12: SyntaxWarning: invalid escape sequence '\s'
  SIZE_RE = 'Physical size:\s([\d]+)x([\d]+)'

2024-07-17 17:32:55.379 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/traffic.py:36: SyntaxWarning: invalid escape sequence '\d'
  pattern = "userId=([\d]+)"

2024-07-17 17:32:55.382 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/ppadb/plugins/device/cpustat.py:90: SyntaxWarning: invalid escape sequence '\s'
  "cpu\s+([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s([\d]+)\s")

2024-07-17 17:32:56.934 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'holidays' calls async_forward_entry_setup for integration, holidays with title: Holidays and entry_id: 3e802491a8d9db92da7551259bc51836, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead at custom_components/holidays/__init__.py, line 40: hass.async_create_task(, please create a bug report at https://github.com/bruxy70/Holidays/issues
2024-07-17 17:32:57.447 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/vobject/base.py:736: SyntaxWarning: invalid escape sequence '\-'
  patterns['name'] = '[a-zA-Z0-9\-_]+'

2024-07-17 17:32:57.449 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/vobject/base.py:1219: SyntaxWarning: invalid escape sequence '\;'
  s = s.replace("\\", "\\\\").replace(";", "\;").replace(",", "\,")

2024-07-17 17:32:57.449 WARNING (ImportExecutor_0) [py.warnings] /usr/local/lib/python3.12/site-packages/vobject/base.py:1219: SyntaxWarning: invalid escape sequence '\,'
  s = s.replace("\\", "\\\\").replace(";", "\;").replace(",", "\,")

2024-07-17 17:32:59.648 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration holidays with title: Holidays and entry_id: 3e802491a8d9db92da7551259bc51836, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2122, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1175, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
    _LOGGER.warning(msg, stack_info=True)
2024-07-17 17:33:02.753 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for esp360-default-1 @ 10.0.1.37: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.37', port=6053))]: [Errno 113] Connect call failed ('10.0.1.37', 6053) (SocketAPIError)
2024-07-17 17:33:02.755 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for m5stack-atom-echo-80b52c @ 10.0.1.28: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.28', port=6053))]: [Errno 113] Connect call failed ('10.0.1.28', 6053) (SocketAPIError)
2024-07-17 17:33:08.449 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'tplink_deco' calls `async_add_job`, which is deprecated and will be removed in Home Assistant 2025.4; Please review https://developers.home-assistant.io/blog/2024/03/13/deprecate_add_run_job for replacement options at custom_components/tplink_deco/__init__.py, line 166: hass.async_add_job(, please create a bug report at https://github.com/amosyuen/ha-tplink-deco/issues
2024-07-17 17:33:08.458 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration, tplink_deco with title: 10.0.0.1 and entry_id: 54d350871b4a7541357300b632532b74, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2099, in async_forward_entry_setup
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
    _LOGGER.warning(msg, stack_info=True)
2024-07-17 17:33:08.461 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration, tplink_deco with title: 10.0.0.1 and entry_id: 54d350871b4a7541357300b632532b74, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2099, in async_forward_entry_setup
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
    _LOGGER.warning(msg, stack_info=True)
2024-07-17 17:33:08.519 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration tplink_deco with title: 10.0.0.1 and entry_id: 54d350871b4a7541357300b632532b74, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue.
Stack (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 223, in <module>
    sys.exit(main())
  File "/usr/src/homeassistant/homeassistant/__main__.py", line 209, in main
    exit_code = runner.run(runtime_conf)
  File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
    return loop.run_until_complete(setup_and_run_hass(runtime_config))
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete
    self.run_forever()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever
    self._run_once()
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once
    handle._run()
  File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
    self._context.run(self._callback, *self._args)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2122, in async_forward_entry_setup
    _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup")
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1175, in _report_non_awaited_platform_forwards
    report(
  File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report
    _LOGGER.warning(msg, stack_info=True)
2024-07-17 17:33:59.686 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for m5stack-atom-echo-80340c @ 10.0.1.27: Timeout while connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.27', port=6053))] (TimeoutAPIError)
2024-07-17 17:33:59.690 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for esp32-s3-box-3-05bac8 @ 10.0.1.24: Timeout while connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.0.1.24', port=6053))] (TimeoutAPIError)
2024-07-17 17:45:37.641 ERROR (MainThread) [homeassistant.components.androidtv.entity] Failed to execute an ADB command. ADB connection re-establishing attempt in the next update. Error: Reading from 10.0.1.40:5555 timed out (9.0 seconds)
2024-07-17 17:45:39.642 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.1.40:5555.  TcpTimeoutException: Connecting to 10.0.1.40:5555 timed out (1.0 seconds)

The what?

Sorry, “Year of the Voice”. I corrected it in the post.

1 Like

Did you find a solution?

I have a S3 box and when trying to setup I get a TimeoutAPIError as well in the ESPHome add-on… right at the end after a successful flash installation…