Home Assistant Failing to server webpage

My home assistant has been running great on a rpi4 for months with regular updates. Suddenly last week my HA no longer is serving the main webpage, I get ERR_EMPTY_RESPONSE from chrome/mobile app. It seems many of the addons are functional and automations are still running that don’t involve the web service. I thought it must have been a bad update or the sd card failed so I proceeded to reimage a new SD card. The onboard webpage works fine, I click restore and select one of my back ups, it seems to restore but the web service don’t work still. I see I have some error and warning but I don’t see anything that should cause this issue.

➜  ~ ha supervisor logs
22-10-11 00:08:11 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on a0d7b954_nginxproxymanager
22-10-11 00:08:11 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore a0d7b954_nginxproxymanager
22-10-11 00:08:11 INFO (MainThread) [supervisor.addons.addon] Restore config for addon core_mariadb
22-10-11 00:08:11 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon core_mariadb
22-10-11 00:08:11 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image homeassistant/aarch64-addon-mariadb with tag 2.5.1.
22-10-11 00:08:39 INFO (MainThread) [supervisor.addons.addon] Restoring data for addon core_mariadb
22-10-11 00:08:39 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-mariadb with version 2.5.1
22-10-11 00:08:39 INFO (MainThread) [supervisor.addons.addon] Finished restore for add-on core_mariadb
22-10-11 00:08:39 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore core_mariadb
22-10-11 00:08:40 INFO (MainThread) [supervisor.addons.addon] Restore config for addon a0d7b954_bitwarden
22-10-11 00:08:40 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon a0d7b954_bitwarden
22-10-11 00:08:40 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/bitwarden/aarch64 with tag 0.17.3.
22-10-11 00:09:10 INFO (MainThread) [supervisor.addons.addon] Restoring data for addon a0d7b954_bitwarden
22-10-11 00:09:10 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/bitwarden/aarch64 with version 0.17.3
22-10-11 00:09:12 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/bitwarden/aarch64 with version 0.17.3
22-10-11 00:09:12 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore a0d7b954_bitwarden
22-10-11 00:09:12 INFO (MainThread) [supervisor.addons.addon] Restore config for addon cebe7a76_hassio_google_drive_backup
22-10-11 00:09:12 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon cebe7a76_hassio_google_drive_backup
22-10-11 00:09:12 INFO (SyncWorker_3) [supervisor.docker.interface] Downloading docker image sabeechen/hassio-google-drive-backup-aarch64 with tag 0.108.4.
22-10-11 00:09:56 INFO (MainThread) [supervisor.addons.addon] Restoring data for addon cebe7a76_hassio_google_drive_backup
22-10-11 00:09:56 INFO (SyncWorker_4) [supervisor.docker.interface] Attaching to sabeechen/hassio-google-drive-backup-aarch64 with version 0.108.4
22-10-11 00:09:56 INFO (MainThread) [supervisor.homeassistant.secrets] Request secret gdriveBackupPassword
22-10-11 00:09:56 INFO (SyncWorker_1) [supervisor.homeassistant.secrets] Request secret gdriveBackupPassword
22-10-11 00:09:57 INFO (SyncWorker_1) [supervisor.docker.addon] Starting Docker add-on sabeechen/hassio-google-drive-backup-aarch64 with version 0.108.4
22-10-11 00:09:57 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore cebe7a76_hassio_google_drive_backup
22-10-11 00:09:57 INFO (MainThread) [supervisor.addons.addon] Restore config for addon a0d7b954_chrony
22-10-11 00:09:57 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon a0d7b954_chrony
22-10-11 00:09:57 INFO (SyncWorker_4) [supervisor.docker.interface] Downloading docker image ghcr.io/hassio-addons/chrony/aarch64 with tag 2.4.0.
22-10-11 00:09:59 INFO (MainThread) [supervisor.homeassistant.secrets] Request secret gdriveBackupPassword
22-10-11 00:09:59 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from cebe7a76_hassio_google_drive_backup
22-10-11 00:09:59 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
22-10-11 00:09:59 INFO (MainThread) [supervisor.api.middleware.security] /addons access from cebe7a76_hassio_google_drive_backup
22-10-11 00:09:59 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/info access from cebe7a76_hassio_google_drive_backup
22-10-11 00:09:59 INFO (MainThread) [supervisor.api.middleware.security] /backups access from cebe7a76_hassio_google_drive_backup
22-10-11 00:09:59 INFO (MainThread) [supervisor.api.middleware.security] /backups/f0d7b4b5/info access from cebe7a76_hassio_google_drive_backup
22-10-11 00:10:02 INFO (MainThread) [supervisor.addons.addon] Restoring data for addon a0d7b954_chrony
22-10-11 00:10:02 INFO (SyncWorker_3) [supervisor.docker.interface] Attaching to ghcr.io/hassio-addons/chrony/aarch64 with version 2.4.0
22-10-11 00:10:04 INFO (SyncWorker_5) [supervisor.docker.addon] Starting Docker add-on ghcr.io/hassio-addons/chrony/aarch64 with version 2.4.0
22-10-11 00:10:04 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore a0d7b954_chrony
22-10-11 00:10:04 INFO (MainThread) [supervisor.addons.addon] Restore config for addon 15ef4d2f_esphome
22-10-11 00:10:04 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon 15ef4d2f_esphome
22-10-11 00:10:04 INFO (SyncWorker_0) [supervisor.docker.interface] Downloading docker image ghcr.io/esphome/esphome-hassio-aarch64 with tag 2022.9.2.
22-10-11 00:10:54 INFO (MainThread) [supervisor.addons.addon] Restoring data for addon 15ef4d2f_esphome
22-10-11 00:10:54 INFO (SyncWorker_5) [supervisor.docker.interface] Attaching to ghcr.io/esphome/esphome-hassio-aarch64 with version 2022.9.2
22-10-11 00:10:54 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on ghcr.io/esphome/esphome-hassio-aarch64 with version 2022.9.2
22-10-11 00:10:54 INFO (MainThread) [supervisor.addons] Detect new Add-on after restore 15ef4d2f_esphome
22-10-11 00:10:58 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt'
22-10-11 00:10:58 INFO (MainThread) [supervisor.auth] Home Assistant not running, checking cache
22-10-11 00:11:00 INFO (MainThread) [supervisor.addons.addon] Restore config for addon core_zwave_js
22-10-11 00:11:01 INFO (MainThread) [supervisor.addons.addon] Restore/Install of image for addon core_zwave_js
22-10-11 00:11:01 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image homeassistant/aarch64-addon-zwave_js with tag 0.1.73.
22-10-11 00:11:24 INFO (MainThread) [supervisor.addons.addon] Restoring data for addon core_zwave_js
22-10-11 00:11:24 INFO (SyncWorker_2) [supervisor.docker.interface] Attaching to homeassistant/aarch64-addon-zwave_js with version 0.1.73
22-10-11 00:11:25 ERROR (MainThread) [supervisor.addons.addon] Add-on core_zwave_js has invalid options: Device '/dev/serial/by-id/usb-0658_0200-if00' does not exist in Z-Wave JS (core_zwave_js). Got {'device'                                                                                                                                                                                                                          : '/dev/serial/by-id/usb-0658_0200-if00', 'log_level': 'info', 's0_legacy_key': 'REDACTED', 's2_access_control_key': 'REDACTED', 's2_authenticated_key': 'REDACTED                                                                                                                                                                                                                          REDACTED', 's2_unauthenticated_key': 'REDACTED', 'network_key': 'REDACTED'}
22-10-11 00:11:25 ERROR (MainThread) [supervisor.backups.backup] Can't restore backup core_zwave_js
22-10-11 00:11:25 INFO (MainThread) [supervisor.backups.manager] Restore f0d7b4b5 wait for Home-Assistant
22-10-11 00:11:25 INFO (MainThread) [supervisor.homeassistant.module] Update pulse/client.config: /data/tmp/homeassistant_pulse
22-10-11 00:11:26 INFO (SyncWorker_0) [supervisor.docker.homeassistant] Starting Home Assistant ghcr.io/home-assistant/raspberrypi4-64-homeassistant with version 2022.9.7
22-10-11 00:11:26 INFO (MainThread) [supervisor.homeassistant.core] Wait until Home Assistant is ready
22-10-11 00:11:33 INFO (MainThread) [supervisor.resolution.evaluate] Starting system evaluation with state CoreState.FREEZE
22-10-11 00:11:33 INFO (MainThread) [supervisor.resolution.evaluate] System evaluation complete
22-10-11 00:11:34 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
22-10-11 00:11:34 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
22-10-11 00:11:34 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
22-10-11 00:11:34 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
22-10-11 00:11:35 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
22-10-11 00:11:35 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-10-11 00:11:35 INFO (MainThread) [supervisor.homeassistant.api] Updated Home Assistant API token
22-10-11 00:11:37 INFO (MainThread) [supervisor.store] Loading add-ons from store: 71 all - 0 new - 0 remove
22-10-11 00:11:37 INFO (MainThread) [supervisor.store] Loading add-ons from store: 71 all - 0 new - 0 remove
22-10-11 00:11:53 INFO (SyncWorker_1) [supervisor.docker.interface] Downloading docker image homeassistant/aarch64-addon-zwave_js with tag 0.1.74.
22-10-11 00:12:16 INFO (MainThread) [supervisor.addons] Add-on 'core_zwave_js' successfully installed
22-10-11 00:12:49 WARNING (MainThread) [supervisor.addons.options] Option 'anonymous' does not exist in the schema for Mosquitto broker (core_mosquitto)
22-10-11 00:12:52 INFO (MainThread) [supervisor.homeassistant.core] Detect a running Home Assistant instance
22-10-11 00:12:53 INFO (MainThread) [supervisor.backups.manager] Full-Restore f0d7b4b5 done
22-10-11 00:14:28 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_ssh
22-10-11 00:14:28 INFO (MainThread) [supervisor.api.middleware.security] /network/info access from a0d7b954_ssh
22-10-11 00:14:28 INFO (MainThread) [supervisor.api.middleware.security] /host/info access from a0d7b954_ssh
22-10-11 00:14:28 INFO (MainThread) [supervisor.api.middleware.security] /core/info access from a0d7b954_ssh
22-10-11 00:14:46 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from a0d7b954_ssh
22-10-11 00:14:52 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from a0d7b954_ssh
22-10-11 00:15:53 INFO (MainThread) [supervisor.auth] Auth request from 'core_mosquitto' for 'mqtt'
22-10-11 00:15:54 INFO (MainThread) [supervisor.auth] Successful login for 'mqtt'
22-10-11 00:16:38 INFO (MainThread) [supervisor.updater] Fetching update data from https://version.home-assistant.io/stable.json
22-10-11 00:16:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/hassio repository
22-10-11 00:16:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/hassio-addons/repository repository
22-10-11 00:16:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/sabeechen/hassio-google-drive-backup repository
22-10-11 00:16:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/esphome/home-assistant-addon repository
22-10-11 00:16:38 INFO (MainThread) [supervisor.store.git] Update add-on https://github.com/home-assistant/addons repository
22-10-11 00:16:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 71 all - 0 new - 0 remove
22-10-11 00:16:40 INFO (MainThread) [supervisor.store] Loading add-ons from store: 71 all - 0 new - 0 remove
22-10-11 00:16:41 INFO (SyncWorker_0) [supervisor.docker.addon] Starting Docker add-on homeassistant/aarch64-addon-check_config with version 3.11.0
22-10-11 00:18:27 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!
22-10-11 00:18:27 WARNING (MainThread) [supervisor.dbus.network] Can't process /org/freedesktop/NetworkManager/Devices/41:
22-10-11 00:18:27 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!
22-10-11 00:18:27 WARNING (MainThread) [supervisor.dbus.network] Can't process /org/freedesktop/NetworkManager/Devices/42:
22-10-11 00:18:27 ERROR (MainThread) [supervisor.utils.dbus] D-Bus method org.freedesktop.DBus.Properties.call_get_all not exists!
22-10-11 00:18:27 WARNING (MainThread) [supervisor.dbus.network] Can't process /org/freedesktop/NetworkManager/Devices/41:
22-10-11 00:18:52 INFO (MainThread) [supervisor.api.middleware.security] /supervisor/logs access from a0d7b954_ssh
➜  ~ ha core logs
raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1696, in forgiving_int_filter
    raise_no_default("int", value)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1393, in raise_no_default
    raise ValueError(
ValueError: Template error: int got invalid input 'unavailable' when rendering template '{{ ((states('sensor.garage_attic_temperature') | int)- ((state_attr("weather.kafw_hourly", "temperature"), state_attr("w                                                                                                                                                                                                                          eather.home", "temperature")) | max)) < 7 }}' but no default was specified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 535, in async_render_to_info
    render_info._result = self.async_render(variables, strict=strict, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 421, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: int got invalid input 'unavailable' when rendering template '{{ ((states('sensor.garage_attic_temperature') | int)- ((state_attr("weather.kaf                                                                                                                                                                                                                          w_hourly", "temperature"), state_attr("weather.home", "temperature")) | max)) < 7 }}' but no default was specified
2022-10-11 00:12:48.121 WARNING (MainThread) [homeassistant.components.template.trigger] Error initializing 'template' trigger for 'Lower EVSE Current if Pool Equipment on': ValueError: Template error: int got                                                                                                                                                                                                                           invalid input 'unavailable' when rendering template '{{ is_state('switch.filter_pump', 'on') or states('sensor.backyard_temperature') | int < 40  }}' but no default was specified
2022-10-11 00:12:48.142 ERROR (MainThread) [homeassistant.helpers.event] Error while processing template: Template("{{ is_state('switch.filter_pump', 'on') or states('sensor.backyard_temperature') | int < 40                                                                                                                                                                                                                            }}")
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 419, in async_render
    render_result = _render_with_context(self.template, compiled, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1904, in _render_with_context
    return template.render(**kwargs)
  File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 1301, in render
    self.environment.handle_exception()
  File "/usr/local/lib/python3.10/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "<template>", line 1, in top-level template code
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1696, in forgiving_int_filter
    raise_no_default("int", value)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 1393, in raise_no_default
    raise ValueError(
ValueError: Template error: int got invalid input 'unavailable' when rendering template '{{ is_state('switch.filter_pump', 'on') or states('sensor.backyard_temperature') | int < 40  }}' but no default was spec                                                                                                                                                                                                                          ified
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 535, in async_render_to_info
    render_info._result = self.async_render(variables, strict=strict, **kwargs)
  File "/usr/src/homeassistant/homeassistant/helpers/template.py", line 421, in async_render
    raise TemplateError(err) from err
homeassistant.exceptions.TemplateError: ValueError: Template error: int got invalid input 'unavailable' when rendering template '{{ is_state('switch.filter_pump', 'on') or states('sensor.backyard_temperature')                                                                                                                                                                                                                           | int < 40  }}' but no default was specified
2022-10-11 00:12:48.733 ERROR (MainThread) [homeassistant.components.cert_expiry] Error fetching aptrouter.noip.me:8129 data: Connection refused by server: aptrouter.noip.me:8129
2022-10-11 00:12:48.755 WARNING (MainThread) [homeassistant.components.template.trigger] Error evaluating 'template' trigger for 'Turn on Garage Fan when it gets 10 degrees above ambient and 80': ValueError: T                                                                                                                                                                                                                          emplate error: int got invalid input 'unavailable' when rendering template '{{ ((states('sensor.garage_attic_temperature') | int)- ((state_attr("weather.kafw_hourly", "temperature"), state_attr("weather.home",                                                                                                                                                                                                                           "temperature")) | max)) > 10 }}' but no default was specified
2022-10-11 00:12:48.789 WARNING (MainThread) [homeassistant.components.template.trigger] Error evaluating 'template' trigger for 'Turn off garage attic fan when temperature is less than 7 degress different': V                                                                                                                                                                                                                          alueError: Template error: int got invalid input 'unavailable' when rendering template '{{ ((states('sensor.garage_attic_temperature') | int)- ((state_attr("weather.kafw_hourly", "temperature"), state_attr("we                                                                                                                                                                                                                          ather.home", "temperature")) | max)) < 7 }}' but no default was specified
2022-10-11 00:12:48.800 WARNING (MainThread) [homeassistant.components.template.trigger] Error evaluating 'template' trigger for 'Lower EVSE Current if Pool Equipment on': ValueError: Template error: int got i                                                                                                                                                                                                                          nvalid input 'unavailable' when rendering template '{{ is_state('switch.filter_pump', 'on') or states('sensor.backyard_temperature') | int < 40  }}' but no default was specified
2022-10-11 00:12:48.838 WARNING (MainThread) [homeassistant.components.template.trigger] Error evaluating 'template' trigger for 'Raise EVSE Current if Pool Equipment not ON': ValueError: Template error: int g                                                                                                                                                                                                                          ot invalid input 'unavailable' when rendering template '{{ is_state('switch.filter_pump', 'off') and states('sensor.backyard_temperature') | int > 40  }}' but no default was specified
2022-10-11 00:12:48.893 WARNING (MainThread) [aioesphomeapi.reconnect_logic] Can't connect to ESPHome API for smart_plug_840d8eb1a95b_xmas @ 192.168.1.129: Error connecting to ('192.168.1.129', 6053): [Errno 1                                                                                                                                                                                                                          13] Connect call failed ('192.168.1.129', 6053)
2022-10-11 00:12:49.251 WARNING (MainThread) [homeassistant.components.esphome] Name of device upstairs_esp32_ble_receiver changed to upstairs_ble_receiver-5b8818, potentially due to IP reassignment
2022-10-11 00:12:49.268 ERROR (SyncWorker_1) [homeassistant] Error doing job: Task was destroyed but it is pending!
2022-10-11 00:12:49.339 ERROR (MainThread) [homeassistant.components.zwave_js] Failed to set the Z-Wave JS add-on options: not a valid value for dictionary value @ data['options']. Got {'device': '/dev/serial/                                                                                                                                                                                                                          by-id/usb-0658_0200-if00', 's0_legacy_key': 'REDACTED', 's2_access_control_key': 'REDACTED', 's2_authenticated_key': 'REDACTEDREDACTED', 's2_unau                                                                                                                                                                                                                          thenticated_key': 'REDACTED'}
2022-10-11 00:12:49.695 ERROR (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2022-10-11 00:12:49.707 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server 192.168.1.8:1883 (5)
2022-10-11 00:12:53.552 WARNING (MainThread) [homeassistant.components.esphome] Name of device upstairs_esp32_ble_receiver changed to upstairs_ble_receiver-5b8818, potentially due to IP reassignment
2022-10-11 00:12:54.245 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xCE90:1:0x0300]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <S                                                                                                                                                                                                                          tatus.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed a                                                                                                                                                                                                                          fter 5 attempts: <Status.MAC_NO_ACK: 233>')]
2022-10-11 00:12:55.702 WARNING (MainThread) [homeassistant.components.zha.core.channels.base] [0xCE90:1:0x0006]: async_initialize: all attempts have failed: [DeliveryError('Request failed after 5 attempts: <S                                                                                                                                                                                                                          tatus.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed after 5 attempts: <Status.MAC_NO_ACK: 233>'), DeliveryError('Request failed a                                                                                                                                                                                                                          fter 5 attempts: <Status.MAC_NO_ACK: 233>')]
2022-10-11 00:12:59.253 ERROR (MainThread) [homeassistant.components.zwave_js] Failed to set the Z-Wave JS add-on options: not a valid value for dictionary value @ data['options']. Got {'device': '/dev/serial/                                                                                                                                                                                                                          by-id/usb-0658_0200-if00', 's0_legacy_key': 'REDACTED', 's2_access_control_key': 'REDACTED', 's2_authenticated_key': 'REDACTEDREDACTED', 's2_unau                                                                                                                                                                                                                          thenticated_key': 'REDACTED'}
2022-10-11 00:12:59.680 WARNING (MainThread) [homeassistant.components.esphome] Name of device upstairs_esp32_ble_receiver changed to upstairs_ble_receiver-5b8818, potentially due to IP reassignment
2022-10-11 00:13:09.905 WARNING (MainThread) [homeassistant.components.esphome] Name of device upstairs_esp32_ble_receiver changed to upstairs_ble_receiver-5b8818, potentially due to IP reassignment
2022-10-11 00:13:17.689 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:13:17.693 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:13:19.273 ERROR (MainThread) [homeassistant.components.zwave_js] Failed to set the Z-Wave JS add-on options: not a valid value for dictionary value @ data['options']. Got {'device': '/dev/serial/                                                                                                                                                                                                                          by-id/usb-0658_0200-if00', 's0_legacy_key': 'REDACTED', 's2_access_control_key': 'REDACTED', 's2_authenticated_key': 'REDACTEDREDACTED', 's2_unau                                                                                                                                                                                                                          thenticated_key': 'REDACTED'}
2022-10-11 00:13:29.068 WARNING (MainThread) [homeassistant.components.esphome] Name of device upstairs_esp32_ble_receiver changed to upstairs_ble_receiver-5b8818, potentially due to IP reassignment
2022-10-11 00:13:47.690 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:13:47.694 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:13:53.716 ERROR (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Unable to connect to the MQTT broker: Connection Refused: not authorised.
2022-10-11 00:13:53.723 WARNING (Thread-2 (_thread_main)) [homeassistant.components.mqtt.client] Disconnected from MQTT server 192.168.1.8:1883 (5)
2022-10-11 00:13:59.296 ERROR (MainThread) [homeassistant.components.zwave_js] Failed to set the Z-Wave JS add-on options: not a valid value for dictionary value @ data['options']. Got {'device': '/dev/serial/                                                                                                                                                                                                                          by-id/usb-0658_0200-if00', 's0_legacy_key': 'REDACTED', 's2_access_control_key': 'REDACTED', 's2_authenticated_key': 'REDACTEDREDACTED', 's2_unau                                                                                                                                                                                                                          thenticated_key': 'REDACTED'}
2022-10-11 00:14:03.222 WARNING (MainThread) [homeassistant.components.esphome] Name of device upstairs_esp32_ble_receiver changed to upstairs_ble_receiver-5b8818, potentially due to IP reassignment
2022-10-11 00:14:17.691 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:14:17.694 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:14:47.692 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:14:47.697 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:15:03.844 WARNING (MainThread) [homeassistant.components.esphome] Name of device upstairs_esp32_ble_receiver changed to upstairs_ble_receiver-5b8818, potentially due to IP reassignment
2022-10-11 00:15:17.693 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:15:17.696 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:15:19.322 ERROR (MainThread) [homeassistant.components.zwave_js] Failed to set the Z-Wave JS add-on options: not a valid value for dictionary value @ data['options']. Got {'device': '/dev/serial/                                                                                                                                                                                                                          by-id/usb-0658_0200-if00', 's0_legacy_key': 'REDACTED', 's2_access_control_key': 'REDACTED', 's2_authenticated_key': 'REDACTEDREDACTED', 's2_unau                                                                                                                                                                                                                          thenticated_key': 'REDACTED'}
2022-10-11 00:15:47.694 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:15:47.698 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:16:04.198 WARNING (MainThread) [homeassistant.components.esphome] Name of device upstairs_esp32_ble_receiver changed to upstairs_ble_receiver-5b8818, potentially due to IP reassignment
2022-10-11 00:16:17.695 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected
2022-10-11 00:16:17.701 ERROR (MainThread) [custom_components.rainforest_emu_2.emu2] issued command while not connected

Edit: Issue solved. The device I had updating my ddns got reset and never reconfigured. So when I lost the dns I could no longer resolve the hostname correctly any more.