Devices not available after z2m update

Hi,

After reading the breaking changes I changed my configuration.yaml accordingly and updated.

The update itself went smoothly and I can control my devices from the z2m frontend. I can’t control them from home assistant anymore though.

configuration.yaml

frontend:
    enabled: true
homeassistant:
  enabled: true
mqtt:
  base_topic: zigbee2mqtt
  server: mqtt://mqtt.lan
  user: z2m
  password: secretpw
serial:
  adapter: zstack
  port: /dev/ttyACM0
advanced:
  log_level: info
  network_key:
    - 146
    - 5
    - 1
    - 119
    - 86
    - 68
    - 218
    - 227
    - 112
    - 150
    - 181
    - 77
    - 137
    - 83
    - 42
    - 22
device_options: {}
devices:
  '0x84fd27fffe1e569d':
    friendly_name: wohnzimmer_stehlampe_ikea
  '0x54ef44100017ad27':
    friendly_name: wohnzimmer_schalter_opple_links
  '0x00158d0004860c61':
    friendly_name: '0x00158d0004860c61'
  '0x804b50fffef1abbb':
    friendly_name: schlafzimmer_deckenleuchte
  '0x54ef441000136530':
    friendly_name: kueche_schalter_opple_rechts
  '0xb4e3f9fffe679ee7':
    friendly_name: '0xb4e3f9fffe679ee7'
  '0xa4c138137592be46':
    friendly_name: wohnzimmer_deckenlampe
version: 4

I also made sure that the mqtt plugin in HA listens to the right birth message:

image

In HA I can see that z2m announced it’s new version:

I still can’t control/read the devices in HA. I am at a loss and I’d be grateful for any help!

Thanks!

/edit:

Ok, this is embarassing… I did the changes before updating, but apparently the (docker) update overwrote parts of the configuration.

I added the things listed under breaking changes again and now everything works as expected.

you’re missing:

homeassistant: true

edit: Just read your edit! …glad it is working.

1 Like