Zigbee2mqtt UI no longer accesible after Backup Restore

I’m facing errors after updating to Home Assistant 2022.10. Automations are no longer available.

Errors are:

2022-10-06 02:20:50.003 ERROR (MainThread) [homeassistant.setup] Unable to set up dependencies of default_config. Setup failed for dependencies: automation
2022-10-06 02:20:50.015 ERROR (MainThread) [homeassistant.setup] Setup failed for default_config: (DependencyError(...), 'Could not setup dependencies: automation')

Logger: homeassistant.setup
Source: components/device_automation/trigger.py:69 
First occurred: 3:05:04 AM (1 occurrences) 
Last logged: 3:05:04 AM

Error during setup of component automation
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/device_automation/trigger.py", line 67, in async_validate_trigger_config
    return await platform.async_validate_trigger_config(hass, config)
  File "/usr/src/homeassistant/homeassistant/components/hue/device_trigger.py", line 44, in async_validate_trigger_config
    raise InvalidDeviceAutomationConfig(f"Device ID {device_id} is not valid")
homeassistant.components.device_automation.exceptions.InvalidDeviceAutomationConfig: Device ID c162359ed7df93641d0122b65a393798 is not valid

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 235, in _async_setup_component
    result = await task
  File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 246, in async_setup
    if not await _async_process_config(hass, config, component):
  File "/usr/src/homeassistant/homeassistant/components/automation/__init__.py", line 690, in _async_process_config
    await async_validate_config_item(hass, raw_config),
  File "/usr/src/homeassistant/homeassistant/components/automation/config.py", line 80, in async_validate_config_item
    config[CONF_TRIGGER] = await async_validate_trigger_config(
  File "/usr/src/homeassistant/homeassistant/helpers/trigger.py", line 100, in async_validate_trigger_config
    conf = await platform.async_validate_trigger_config(hass, conf)
  File "/usr/src/homeassistant/homeassistant/components/device_automation/trigger.py", line 69, in async_validate_trigger_config
    raise InvalidDeviceAutomationConfig("invalid trigger configuration") from err
homeassistant.components.device_automation.exceptions.InvalidDeviceAutomationConfig: invalid trigger configuration

Therefore i’ve performed a restore to HA 2022.9.7.
But now i can no longer open the zigbee2mqtt UI in the sidebar

How to solve this issue?