Z2M Addon now failing to start

After a recent set up updates, core, supervisor and some others on my HAOS install, my fully up-to-date system wasn’t seeing any of the z2m devices, they were all showing as Unavailable.

I have made no changes to the addon settings or the configuration file or hardware, so this came out of nowhere. I’m running Z2M on a Conbee II USB stick, no changes made to stick. I found that the Zigbee.mqtt addon 140.2-1 would not start.

Refusing to start because configuration is not valid, found the following errors:
- devices/0x00158d0009ef5120/homeassistant/name must be string

My mosquitto broker is running on the HA box. My z2m configuration.yaml file is as follows:

homeassistant: true
data_path: /config/zigbee2mqtt
socat:
  enabled: false
  master: pty,raw,echo=0,link=/tmp/ttyZ2M,mode=777
  slave: tcp-listen:8485,keepalive,nodelay,reuseaddr,keepidle=1,keepintvl=1,keepcnt=5
  options: '-d -d'
  log: false
permit_join: false
mqtt:
  server: mqtt://core-mosquitto:1883
  user: addons
  password: REDACTED
  base_topic: zigbee2mqt
  keepalive: 60
  reject_unauthorized: true
  version: 4
serial:
  port: >-
    /dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_DE2659735-if00
  adapter: deconz
  disable_led: true
frontend:
  port: 8099
zigbee_herdsman_debug: true
devices:
  '0x00158d00072b9fa3':
    friendly_name: Water Leak Sensor Guest Bathroom Aqara
    description: Water Leak Sensor Guest Bathroom Aqara
  '0x00158d00072b5265':
    friendly_name: Water Leak Sensor Master Bathroom Left
    description: Water Leak Sensor Master Bathroom Left
  '0x00158d0009e13078':
    friendly_name: Water Leak Sensor Laundry Room Aqara
    description: Water Leak Sensor Laundry Room Aqara
  '0x00158d0009e0278e':
    friendly_name: Front Door Open Sensor
    description: Front Door Open Sensor
  '0x00158d0009f41dd1':
    friendly_name: Terrace Lower Door Open Sensor
    description: Terrace Lower Door Open Sensor
  '0xdc8e95fffe92be2a':
    friendly_name: Range Extender Z2M Aeotec
    description: Range Extender Z2M Aeotec, upstairs hallway leading to rooftop
  '0x00158d0009f40e39':
    friendly_name: Rooftop Door Open Sensor
    description: Rooftop Door Open Sensor
  '0x00158d00072ba32f':
    friendly_name: Water Leak Sensor Guest Bathroom 2
    description: Water Leak Sensor Guest Bathroom 2 Under Sink
  '0x00158d0009ef51d3':
    friendly_name: Water Leak Sensor Master WC Aqara
    description: Water Leak Sensor Master WC Aqara
  '0x00158d00097664da':
    friendly_name: Water Leak Sensor Dishwasher
    description: Water Leak Sensor Dishwasher
  '0x00158d00072a7a49':
    friendly_name: Water Leak Sensor Master Bathroom Right
  '0x00158d0009ef5120':
    friendly_name: Water Leak Sensor Powder Room 2
    homeassistant:
      name: null
    optimistic: true
    description: Powder Room Under Sink
availability: true
groups: {}

I’ve rebooted of course. No change Can anyone help? I’ve seen a few others having similar issues over the last 24 hours.

You must supply a name: that you want the discovered name to be overwritten with. Or remove the homeassistant: device option if you no longer need to change the name. See: https://www.zigbee2mqtt.io/guide/configuration/devices-groups.html#common-device-options

Thanks so much. I think I was playing around with it at some point, just exploring and didn’t realize I’d messed it up.