Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MQTT device name is equal to entity name in your config error in Home Assistant 2023.8 #18445

Closed
RobertD502 opened this issue Jul 27, 2023 · 49 comments
Labels
problem Something isn't working

Comments

@RobertD502
Copy link

RobertD502 commented Jul 27, 2023

What happened?

A breaking change was introduced in Home Assistant 2023.8 involving naming of MQTT entities which affects update entities exposed by Zigbee2MQTT.

The following warning is logged by Home Assistant:

Logger: homeassistant.components.mqtt.mixins
Source: components/mqtt/mixins.py:294
Integration: MQTT (documentation, issues)
First occurred: 7:19:13 PM (10 occurrences)
Last logged: 7:19:14 PM

MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}, {'topic': 'zigbee/Eagle Outlet/availability', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'availability_mode': 'all', 'command_topic': 'zigbee/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x00158d00028a402f'], 'manufacturer': 'Xiaomi', 'model': 'Mi power plug ZigBee US (ZNCZ12LM)', 'name': 'Eagle Outlet', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'json_attributes_topic': 'zigbee/Eagle Outlet', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee/Eagle Outlet', 'name': 'Eagle Outlet', 'payload_install': '{"id": "0x00158d00028a402f"}', 'state_topic': 'zigbee/Eagle Outlet', 'unique_id': '0x00158d00028a402f_update_zigbee', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'payload_available': 'online', 'enabled_by_default': True, 'payload_not_available': 'offline', 'qos': 0, 'encoding': 'utf-8', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}, {'topic': 'zigbee/Kitchen Smart Plug/availability', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'availability_mode': 'all', 'command_topic': 'zigbee/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x90fd9ffffe667d69'], 'manufacturer': 'Innr', 'model': 'Smart plug (SP 224)', 'name': 'Kitchen Smart Plug', 'sw_version': '2.7', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'json_attributes_topic': 'zigbee/Kitchen Smart Plug', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee/Kitchen Smart Plug', 'name': 'Kitchen Smart Plug', 'payload_install': '{"id": "0x90fd9ffffe667d69"}', 'state_topic': 'zigbee/Kitchen Smart Plug', 'unique_id': '0x90fd9ffffe667d69_update_zigbee', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'payload_available': 'online', 'enabled_by_default': True, 'payload_not_available': 'offline', 'qos': 0, 'encoding': 'utf-8', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}, {'topic': 'zigbee/Cellar Heater - Kitchen/availability', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'availability_mode': 'all', 'command_topic': 'zigbee/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0xb0ce18140003ef99'], 'manufacturer': 'Sengled', 'model': 'Smart plug (E1C-NB6)', 'name': 'Cellar Heater - Kitchen', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'json_attributes_topic': 'zigbee/Cellar Heater - Kitchen', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee/Cellar Heater - Kitchen', 'name': 'Cellar Heater - Kitchen', 'payload_install': '{"id": "0xb0ce18140003ef99"}', 'state_topic': 'zigbee/Cellar Heater - Kitchen', 'unique_id': '0xb0ce18140003ef99_update_zigbee', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'payload_available': 'online', 'enabled_by_default': True, 'payload_not_available': 'offline', 'qos': 0, 'encoding': 'utf-8', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}, {'topic': 'zigbee/Cellar Heater - 1st/availability', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'availability_mode': 'all', 'command_topic': 'zigbee/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0xb0ce18140003f855'], 'manufacturer': 'Sengled', 'model': 'Smart plug (E1C-NB6)', 'name': 'Cellar Heater - 1st', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'json_attributes_topic': 'zigbee/Cellar Heater - 1st', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee/Cellar Heater - 1st', 'name': 'Cellar Heater - 1st', 'payload_install': '{"id": "0xb0ce18140003f855"}', 'state_topic': 'zigbee/Cellar Heater - 1st', 'unique_id': '0xb0ce18140003f855_update_zigbee', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'payload_available': 'online', 'enabled_by_default': True, 'payload_not_available': 'offline', 'qos': 0, 'encoding': 'utf-8', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}, {'topic': 'zigbee/Cellar Heater - 2nd/availability', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'availability_mode': 'all', 'command_topic': 'zigbee/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0xb0ce18140003f6ee'], 'manufacturer': 'Sengled', 'model': 'Smart plug (E1C-NB6)', 'name': 'Cellar Heater - 2nd', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'json_attributes_topic': 'zigbee/Cellar Heater - 2nd', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee/Cellar Heater - 2nd', 'name': 'Cellar Heater - 2nd', 'payload_install': '{"id": "0xb0ce18140003f6ee"}', 'state_topic': 'zigbee/Cellar Heater - 2nd', 'unique_id': '0xb0ce18140003f6ee_update_zigbee', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'payload_available': 'online', 'enabled_by_default': True, 'payload_not_available': 'offline', 'qos': 0, 'encoding': 'utf-8', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

As you can see, the update entity name is the exact same as the name provided for the device name (for the device registry). As a result, this warning is being logged for all update entities.

By the looks of it, update entity is the only one that switch, update, and light entities are not currently setting the name of the entity in the form of {Device Name} {entity descriptor}. Disregard, entity name should only be of the descriptor like "Humidity" or "Temperature".

For example, the energy sensor entity for my outlet has an entity name of Eagle Outlet energy with a device registry name of Eagle Outlet: Disregard, entity name should only be Energy for this entity.

availability:
  - topic: zigbee/bridge/state
  - topic: zigbee/Eagle Outlet/availability
availability_mode: all
device:
  identifiers:
    - zigbee2mqtt_0x00158d00028a402f
  manufacturer: Xiaomi
  model: Mi power plug ZigBee US (ZNCZ12LM)
  name: Eagle Outlet
device_class: energy
enabled_by_default: true
json_attributes_topic: zigbee/Eagle Outlet
name: Eagle Outlet energy
state_class: total_increasing
state_topic: zigbee/Eagle Outlet
unique_id: 0x00158d00028a402f_energy_zigbee
unit_of_measurement: kWh
value_template: '{{ value_json.energy }}'
platform: mqtt

However, the update entity, as seen in the payload below, has its name set to Eagle Outlet instead of, for example, Eagle Outlet update: Update:

availability:
  - topic: zigbee/bridge/state
  - topic: zigbee/Eagle Outlet/availability
availability_mode: all
command_topic: zigbee/bridge/request/device/ota_update/update
device:
  identifiers:
    - zigbee2mqtt_0x00158d00028a402f
  manufacturer: Xiaomi
  model: Mi power plug ZigBee US (ZNCZ12LM)
  name: Eagle Outlet
device_class: firmware
entity_picture: https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png
json_attributes_topic: zigbee/Eagle Outlet
latest_version_template: '{{ value_json[''update''][''latest_version''] }}'
latest_version_topic: zigbee/Eagle Outlet
name: Eagle Outlet
payload_install: '{"id": "0x00158d00028a402f"}'
state_topic: zigbee/Eagle Outlet
unique_id: 0x00158d00028a402f_update_zigbee
value_template: '{{ value_json[''update''][''installed_version''] }}'
platform: mqtt

What did you expect to happen?

No response

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.32.1

Adapter firmware version

N/A

Adapter

N/A

Debug log

No response

@RobertD502 RobertD502 added the problem Something isn't working label Jul 27, 2023
@hmmbob
Copy link
Contributor

hmmbob commented Jul 28, 2023

It's not just the update entities though....

2023-07-28 10:59:10.353 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/Leeslampje zolder/set', 'device': {'identifiers': ['zigbee2mqtt_0x00158d000389270a'], 'manufacturer': 'Innr', 'model': 'Smart plug (SP 120)', 'name': 'Leeslampje zolder', 'sw_version': '2.0', 'connections': []}, 'name': 'Leeslampje zolder', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/Leeslampje zolder', 'unique_id': '0x00158d000389270a_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.361 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/Grijze lamp/set', 'device': {'identifiers': ['zigbee2mqtt_0x588e81fffedb88cc'], 'manufacturer': 'TuYa', 'model': '10A UK or 16A EU smart plug (TS0121_plug)', 'name': 'Grijze lamp', 'connections': []}, 'name': 'Grijze lamp', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/Grijze lamp', 'unique_id': '0x588e81fffedb88cc_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.367 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/Pubercave/set', 'device': {'identifiers': ['zigbee2mqtt_0x842e14fffe359c8b'], 'manufacturer': 'TuYa', 'model': '10A UK or 16A EU smart plug (TS0121_plug)', 'name': 'Pubercave', 'connections': []}, 'name': 'Pubercave', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/Pubercave', 'unique_id': '0x842e14fffe359c8b_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.378 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/TV Kastje/set', 'device': {'identifiers': ['zigbee2mqtt_0x847127fffe7e037c'], 'manufacturer': 'Innr', 'model': 'Smart plug (SP 220)', 'name': 'TV Kastje', 'sw_version': '2.3', 'connections': []}, 'name': 'TV Kastje', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/TV Kastje', 'unique_id': '0x847127fffe7e037c_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.381 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/aquarium/set', 'device': {'identifiers': ['zigbee2mqtt_0x847127fffe7f0994'], 'manufacturer': 'Innr', 'model': 'Smart plug (SP 220)', 'name': 'aquarium', 'sw_version': '2.3', 'connections': []}, 'name': 'aquarium', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/aquarium', 'unique_id': '0x847127fffe7f0994_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.382 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/mini_cave/set', 'device': {'identifiers': ['zigbee2mqtt_0x84ba20fffe65518d'], 'manufacturer': 'TuYa', 'model': 'Smart plug (with power monitoring by polling) (TS011F_plug_3)', 'name': 'mini_cave', 'connections': []}, 'name': 'mini_cave', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/mini_cave', 'unique_id': '0x84ba20fffe65518d_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.391 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/wasmachine/set', 'device': {'identifiers': ['zigbee2mqtt_0x84ba20fffe6ac22b'], 'manufacturer': 'TuYa', 'model': 'Smart plug (with power monitoring by polling) (TS011F_plug_3)', 'name': 'wasmachine', 'connections': []}, 'name': 'wasmachine', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/wasmachine', 'unique_id': '0x84ba20fffe6ac22b_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.767 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x84ba20fffe65518d'], 'manufacturer': 'TuYa', 'model': 'Smart plug (with power monitoring by polling) (TS011F_plug_3)', 'name': 'mini_cave', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/mini_cave', 'name': 'mini_cave', 'payload_install': '{"id": "0x84ba20fffe65518d"}', 'state_topic': 'zigbee2mqtt/mini_cave', 'unique_id': '0x84ba20fffe65518d_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.769 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe930462'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Badkamer', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Badkamer', 'name': 'Badkamer', 'payload_install': '{"id": "0x8cf681fffe930462"}', 'state_topic': 'zigbee2mqtt/Badkamer', 'unique_id': '0x8cf681fffe930462_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.771 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x6c5cb1fffe1de326'], 'manufacturer': 'IKEA', 'model': 'TRADFRI ON/OFF switch (E1743)', 'name': 'drukknop Tijmen', 'sw_version': '24.4.6', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/drukknop Tijmen', 'name': 'drukknop Tijmen', 'payload_install': '{"id": "0x6c5cb1fffe1de326"}', 'state_topic': 'zigbee2mqtt/drukknop Tijmen', 'unique_id': '0x6c5cb1fffe1de326_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.774 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe95e83f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots Keuken', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Spots Keuken', 'name': 'Spots Keuken', 'payload_install': '{"id": "0x8cf681fffe95e83f"}', 'state_topic': 'zigbee2mqtt/Spots Keuken', 'unique_id': '0x8cf681fffe95e83f_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.778 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe95e85c'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots Eetkamer', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Spots Eetkamer', 'name': 'Spots Eetkamer', 'payload_install': '{"id": "0x8cf681fffe95e85c"}', 'state_topic': 'zigbee2mqtt/Spots Eetkamer', 'unique_id': '0x8cf681fffe95e85c_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.780 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe893b5f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots vaas', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Spots vaas', 'name': 'Spots vaas', 'payload_install': '{"id": "0x8cf681fffe893b5f"}', 'state_topic': 'zigbee2mqtt/Spots vaas', 'unique_id': '0x8cf681fffe893b5f_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.783 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe9d549f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots woonkamer', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Spots woonkamer', 'name': 'Spots woonkamer', 'payload_install': '{"id": "0x8cf681fffe9d549f"}', 'state_topic': 'zigbee2mqtt/Spots woonkamer', 'unique_id': '0x8cf681fffe9d549f_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.785 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x84ba20fffe6ac22b'], 'manufacturer': 'TuYa', 'model': 'Smart plug (with power monitoring by polling) (TS011F_plug_3)', 'name': 'wasmachine', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/wasmachine', 'name': 'wasmachine', 'payload_install': '{"id": "0x84ba20fffe6ac22b"}', 'state_topic': 'zigbee2mqtt/wasmachine', 'unique_id': '0x84ba20fffe6ac22b_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.786 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x94deb8fffe5934c9'], 'manufacturer': 'IKEA', 'model': 'SYMFONISK sound remote gen2 (E2123)', 'name': 'Afstandsbediening', 'sw_version': '1.0.35', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Afstandsbediening', 'name': 'Afstandsbediening', 'payload_install': '{"id": "0x94deb8fffe5934c9"}', 'state_topic': 'zigbee2mqtt/Afstandsbediening', 'unique_id': '0x94deb8fffe5934c9_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.788 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Badkamer/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe930462'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Badkamer', 'sw_version': '1.01', 'connections': []}, 'name': 'Badkamer', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Badkamer', 'unique_id': '0x8cf681fffe930462_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.791 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'color_mode': True, 'command_topic': 'zigbee2mqtt/ledstrip mini/set', 'device': {'identifiers': ['zigbee2mqtt_0xcc86ecfffe5ba135'], 'manufacturer': 'Lidl', 'model': 'Livarno Lux smart LED light strip 2.5m (HG06104A)', 'name': 'ledstrip mini', 'connections': []}, 'effect': True, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'max_mireds': 500, 'min_mireds': 150, 'name': 'ledstrip mini', 'schema': 'json', 'state_topic': 'zigbee2mqtt/ledstrip mini', 'supported_color_modes': {'color_temp', 'xy'}, 'unique_id': '0xcc86ecfffe5ba135_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'hs': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.792 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Spots Keuken/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe95e83f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots Keuken', 'sw_version': '1.01', 'connections': []}, 'name': 'Spots Keuken', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Spots Keuken', 'unique_id': '0x8cf681fffe95e83f_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.794 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Spots Eetkamer/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe95e85c'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots Eetkamer', 'sw_version': '1.01', 'connections': []}, 'name': 'Spots Eetkamer', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Spots Eetkamer', 'unique_id': '0x8cf681fffe95e85c_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.796 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Spots vaas/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe893b5f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots vaas', 'sw_version': '1.01', 'connections': []}, 'name': 'Spots vaas', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Spots vaas', 'unique_id': '0x8cf681fffe893b5f_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-07-28 10:59:10.797 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Spots woonkamer/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe9d549f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots woonkamer', 'sw_version': '1.01', 'connections': []}, 'name': 'Spots woonkamer', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Spots woonkamer', 'unique_id': '0x8cf681fffe9d549f_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

@RobertD502
Copy link
Author

It's not just the update entities though....


2023-07-28 10:59:10.353 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/Leeslampje zolder/set', 'device': {'identifiers': ['zigbee2mqtt_0x00158d000389270a'], 'manufacturer': 'Innr', 'model': 'Smart plug (SP 120)', 'name': 'Leeslampje zolder', 'sw_version': '2.0', 'connections': []}, 'name': 'Leeslampje zolder', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/Leeslampje zolder', 'unique_id': '0x00158d000389270a_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.361 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/Grijze lamp/set', 'device': {'identifiers': ['zigbee2mqtt_0x588e81fffedb88cc'], 'manufacturer': 'TuYa', 'model': '10A UK or 16A EU smart plug (TS0121_plug)', 'name': 'Grijze lamp', 'connections': []}, 'name': 'Grijze lamp', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/Grijze lamp', 'unique_id': '0x588e81fffedb88cc_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.367 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/Pubercave/set', 'device': {'identifiers': ['zigbee2mqtt_0x842e14fffe359c8b'], 'manufacturer': 'TuYa', 'model': '10A UK or 16A EU smart plug (TS0121_plug)', 'name': 'Pubercave', 'connections': []}, 'name': 'Pubercave', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/Pubercave', 'unique_id': '0x842e14fffe359c8b_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.378 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/TV Kastje/set', 'device': {'identifiers': ['zigbee2mqtt_0x847127fffe7e037c'], 'manufacturer': 'Innr', 'model': 'Smart plug (SP 220)', 'name': 'TV Kastje', 'sw_version': '2.3', 'connections': []}, 'name': 'TV Kastje', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/TV Kastje', 'unique_id': '0x847127fffe7e037c_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.381 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/aquarium/set', 'device': {'identifiers': ['zigbee2mqtt_0x847127fffe7f0994'], 'manufacturer': 'Innr', 'model': 'Smart plug (SP 220)', 'name': 'aquarium', 'sw_version': '2.3', 'connections': []}, 'name': 'aquarium', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/aquarium', 'unique_id': '0x847127fffe7f0994_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.382 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/mini_cave/set', 'device': {'identifiers': ['zigbee2mqtt_0x84ba20fffe65518d'], 'manufacturer': 'TuYa', 'model': 'Smart plug (with power monitoring by polling) (TS011F_plug_3)', 'name': 'mini_cave', 'connections': []}, 'name': 'mini_cave', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/mini_cave', 'unique_id': '0x84ba20fffe65518d_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.391 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/wasmachine/set', 'device': {'identifiers': ['zigbee2mqtt_0x84ba20fffe6ac22b'], 'manufacturer': 'TuYa', 'model': 'Smart plug (with power monitoring by polling) (TS011F_plug_3)', 'name': 'wasmachine', 'connections': []}, 'name': 'wasmachine', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee2mqtt/wasmachine', 'unique_id': '0x84ba20fffe6ac22b_switch_zigbee2mqtt', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.767 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x84ba20fffe65518d'], 'manufacturer': 'TuYa', 'model': 'Smart plug (with power monitoring by polling) (TS011F_plug_3)', 'name': 'mini_cave', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/mini_cave', 'name': 'mini_cave', 'payload_install': '{"id": "0x84ba20fffe65518d"}', 'state_topic': 'zigbee2mqtt/mini_cave', 'unique_id': '0x84ba20fffe65518d_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.769 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe930462'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Badkamer', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Badkamer', 'name': 'Badkamer', 'payload_install': '{"id": "0x8cf681fffe930462"}', 'state_topic': 'zigbee2mqtt/Badkamer', 'unique_id': '0x8cf681fffe930462_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.771 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x6c5cb1fffe1de326'], 'manufacturer': 'IKEA', 'model': 'TRADFRI ON/OFF switch (E1743)', 'name': 'drukknop Tijmen', 'sw_version': '24.4.6', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/drukknop Tijmen', 'name': 'drukknop Tijmen', 'payload_install': '{"id": "0x6c5cb1fffe1de326"}', 'state_topic': 'zigbee2mqtt/drukknop Tijmen', 'unique_id': '0x6c5cb1fffe1de326_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.774 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe95e83f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots Keuken', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Spots Keuken', 'name': 'Spots Keuken', 'payload_install': '{"id": "0x8cf681fffe95e83f"}', 'state_topic': 'zigbee2mqtt/Spots Keuken', 'unique_id': '0x8cf681fffe95e83f_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.778 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe95e85c'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots Eetkamer', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Spots Eetkamer', 'name': 'Spots Eetkamer', 'payload_install': '{"id": "0x8cf681fffe95e85c"}', 'state_topic': 'zigbee2mqtt/Spots Eetkamer', 'unique_id': '0x8cf681fffe95e85c_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.780 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe893b5f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots vaas', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Spots vaas', 'name': 'Spots vaas', 'payload_install': '{"id": "0x8cf681fffe893b5f"}', 'state_topic': 'zigbee2mqtt/Spots vaas', 'unique_id': '0x8cf681fffe893b5f_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.783 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe9d549f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots woonkamer', 'sw_version': '1.01', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Spots woonkamer', 'name': 'Spots woonkamer', 'payload_install': '{"id": "0x8cf681fffe9d549f"}', 'state_topic': 'zigbee2mqtt/Spots woonkamer', 'unique_id': '0x8cf681fffe9d549f_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.785 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x84ba20fffe6ac22b'], 'manufacturer': 'TuYa', 'model': 'Smart plug (with power monitoring by polling) (TS011F_plug_3)', 'name': 'wasmachine', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/wasmachine', 'name': 'wasmachine', 'payload_install': '{"id": "0x84ba20fffe6ac22b"}', 'state_topic': 'zigbee2mqtt/wasmachine', 'unique_id': '0x84ba20fffe6ac22b_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.786 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'command_topic': 'zigbee2mqtt/bridge/request/device/ota_update/update', 'device': {'identifiers': ['zigbee2mqtt_0x94deb8fffe5934c9'], 'manufacturer': 'IKEA', 'model': 'SYMFONISK sound remote gen2 (E2123)', 'name': 'Afstandsbediening', 'sw_version': '1.0.35', 'connections': []}, 'device_class': <UpdateDeviceClass.FIRMWARE: 'firmware'>, 'entity_picture': 'https://github.com/Koenkk/zigbee2mqtt/raw/master/images/logo.png', 'latest_version_template': Template<template=({{ value_json['update']['latest_version'] }}) renders=0>, 'latest_version_topic': 'zigbee2mqtt/Afstandsbediening', 'name': 'Afstandsbediening', 'payload_install': '{"id": "0x94deb8fffe5934c9"}', 'state_topic': 'zigbee2mqtt/Afstandsbediening', 'unique_id': '0x94deb8fffe5934c9_update_zigbee2mqtt', 'value_template': Template<template=({{ value_json['update']['installed_version'] }}) renders=0>, 'encoding': 'utf-8', 'payload_not_available': 'offline', 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'availability_mode': 'latest', 'retain': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.788 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Badkamer/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe930462'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Badkamer', 'sw_version': '1.01', 'connections': []}, 'name': 'Badkamer', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Badkamer', 'unique_id': '0x8cf681fffe930462_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.791 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'color_mode': True, 'command_topic': 'zigbee2mqtt/ledstrip mini/set', 'device': {'identifiers': ['zigbee2mqtt_0xcc86ecfffe5ba135'], 'manufacturer': 'Lidl', 'model': 'Livarno Lux smart LED light strip 2.5m (HG06104A)', 'name': 'ledstrip mini', 'connections': []}, 'effect': True, 'effect_list': ['blink', 'breathe', 'okay', 'channel_change', 'finish_effect', 'stop_effect'], 'max_mireds': 500, 'min_mireds': 150, 'name': 'ledstrip mini', 'schema': 'json', 'state_topic': 'zigbee2mqtt/ledstrip mini', 'supported_color_modes': {'color_temp', 'xy'}, 'unique_id': '0xcc86ecfffe5ba135_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'hs': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.792 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Spots Keuken/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe95e83f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots Keuken', 'sw_version': '1.01', 'connections': []}, 'name': 'Spots Keuken', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Spots Keuken', 'unique_id': '0x8cf681fffe95e83f_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.794 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Spots Eetkamer/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe95e85c'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots Eetkamer', 'sw_version': '1.01', 'connections': []}, 'name': 'Spots Eetkamer', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Spots Eetkamer', 'unique_id': '0x8cf681fffe95e85c_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.796 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Spots vaas/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe893b5f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots vaas', 'sw_version': '1.01', 'connections': []}, 'name': 'Spots vaas', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Spots vaas', 'unique_id': '0x8cf681fffe893b5f_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

2023-07-28 10:59:10.797 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee2mqtt/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'brightness': True, 'brightness_scale': 254, 'command_topic': 'zigbee2mqtt/Spots woonkamer/set', 'device': {'identifiers': ['zigbee2mqtt_0x8cf681fffe9d549f'], 'manufacturer': 'EcoDim', 'model': 'Zigbee & Z-wave dimmer (Eco-Dim.07/Eco-Dim.10)', 'name': 'Spots woonkamer', 'sw_version': '1.01', 'connections': []}, 'name': 'Spots woonkamer', 'schema': 'json', 'state_topic': 'zigbee2mqtt/Spots woonkamer', 'unique_id': '0x8cf681fffe9d549f_light_zigbee2mqtt', 'color_temp': False, 'xy': False, 'encoding': 'utf-8', 'flash_time_long': 10, 'white_scale': 255, 'payload_not_available': 'offline', 'color_mode': False, 'hs': False, 'effect': False, 'enabled_by_default': True, 'payload_available': 'online', 'qos': 0, 'flash_time_short': 2, 'availability_mode': 'latest', 'retain': False, 'rgb': False, 'optimistic': False}, this is not expected. Please correct your configuration. The entity name will be set to `null`

Yup, you're right! Looked deeper into it and I see that the name is also repeated for switch entities without appending the descriptor.

So, based on my setup I can confirm that update and switch entities are affected. From your log it appears that light entities are also affected.

@RobertD502 RobertD502 changed the title Firmware update entity warning logs in Home Assistant 2023.8 Switch, Update, and Light entity warning logs in Home Assistant 2023.8 Jul 28, 2023
@francisp2
Copy link

I had not seen this, but my HA log does not shows warnings, only errors.

@tjorim
Copy link

tjorim commented Jul 29, 2023

Not only update entities indeed, all names seem duplicate now:
image
Related change in HA core: home-assistant/core#95159

@RobertD502
Copy link
Author

Not only update entities indeed, all names seem duplicate now: image Related change in HA core: home-assistant/core#95159

@tjorim
This is due to how Home Assistant handles naming entities with the has_entity_name property set to true. In Zigbee2MQTT's case, for the device that you showed in your example, the device name is set to "Ice cube machine" and the entity name is set to "Ice cube machine energy". What home assistant does is combines the device name with the entity name to produce the "Friendly name" that you are seeing. In order for this to not happen, Zigbee2MQTT should be setting the entity name to just "Energy" which would result in a friendly name of "Ice cube machine Energy" (name seen when the entity is clicked on in the UI), but the entity name within the device will appear as "Energy".

For example, for my Lavviebot litter box integration, the device name is Litterbox and the Humidity sensor entity name is "Humidity". On the device page, the entity is listed as "Humidity":

image

However, when I click on the entity, the friendly name is shown as "Litterbox Humidity" due to how naming is handled in Home Assistant:

image

If you want to customize the entity name from the Zigbee2MQTT side of things, although it requires some manual work, you can do so by checking out the documentation here.

Hope this clears up some things.

@Rockman18
Copy link

Screenshot_2023-08-01-16-30-32-810_io.homeassistant.companion.android.jpg

Screenshot_2023-08-01-16-30-38-162_io.homeassistant.companion.android.jpg

I updated my home assistant to 2023.8.0b3 this afternoon and those 2 warning messages appeared.

@Koenkk
Copy link
Owner

Koenkk commented Aug 1, 2023

Could you check if this is fixed by #18208 ? This is available in the dev branch now. (https://www.zigbee2mqtt.io/advanced/more/switch-to-dev-branch.html)

@RobertD502
Copy link
Author

RobertD502 commented Aug 1, 2023

@Koenkk Nope, still logging the warning. Example:

2023-08-01 13:59:44.714 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_available': 'online', 'payload_not_available': 'offline'}, {'topic': 'zigbee/Cellar Heater - Kitchen/availability', 'payload_available': 'online', 'payload_not_available': 'offline'}], 'availability_mode': 'all', 'command_topic': 'zigbee/Cellar Heater - Kitchen/set', 'device': {'identifiers': ['zigbee2mqtt_0xb0ce18140003ef99'], 'manufacturer': 'Sengled', 'model': 'Smart plug (E1C-NB6)', 'name': 'Cellar Heater - Kitchen', 'connections': []}, 'json_attributes_topic': 'zigbee/Cellar Heater - Kitchen', 'name': 'Cellar Heater - Kitchen', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee/Cellar Heater - Kitchen', 'unique_id': '0xb0ce18140003ef99_switch_zigbee', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'retain': False, 'qos': 0, 'payload_available': 'online', 'optimistic': False, 'encoding': 'utf-8', 'enabled_by_default': True, 'payload_not_available': 'offline'}, this is not expected. Please correct your configuration. The entity name will be set to `null`

With their temporary fix of stripping the device name from the entities that have a name of {device name} {descriptor}, a new warning is also now logged about that. For example, for a device named "Server Rack" with a sensor entity related to battery level, they want the entity name to be "Battery" and not "Server Rack battery" as it currently is.:

2023-08-01 13:59:44.861 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_available': 'online', 'payload_not_available': 'offline'}, {'topic': 'zigbee/Server Rack/availability', 'payload_available': 'online', 'payload_not_available': 'offline'}], 'availability_mode': 'all', 'device': {'identifiers': ['zigbee2mqtt_0x00158d000582ac5d'], 'manufacturer': 'Xiaomi', 'model': 'Aqara temperature, humidity and pressure sensor (WSDCGQ11LM)', 'name': 'Server Rack', 'sw_version': '3000-0001', 'connections': []}, 'device_class': <SensorDeviceClass.BATTERY: 'battery'>, 'enabled_by_default': True, 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>, 'json_attributes_topic': 'zigbee/Server Rack', 'name': 'Server Rack battery', 'state_class': <SensorStateClass.MEASUREMENT: 'measurement'>, 'state_topic': 'zigbee/Server Rack', 'unique_id': '0x00158d000582ac5d_battery_zigbee', 'unit_of_measurement': '%', 'value_template': Template<template=({{ value_json.battery }}) renders=0>, 'qos': 0, 'payload_available': 'online', 'force_update': False, 'encoding': 'utf-8', 'payload_not_available': 'offline'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Battery'

The additional warning that is being logged now, on top of the original issue that we are facing with entities that use just the device name as the entity name, was introduced by this change.

Koenkk added a commit that referenced this issue Aug 1, 2023
Koenkk added a commit that referenced this issue Aug 1, 2023
…your config (#18491)

* fix: Fix Home Assistant `MQTT device name is equal to entity name in your config` error. #18445

* remove onlythis
@Koenkk
Copy link
Owner

Koenkk commented Aug 1, 2023

Merged another fix, could you check if it works? (Wait 1 hour before updating to make changes are build and published)

@RobertD502
Copy link
Author

Out of curiosity, after taking a quick look at the changes, any reason for choosing not to capitalize the entity name? For example, using Battery instead of battery. For entities with multiple words, only the first is capitalized (e.g., power on behavior would be Power on behavior) - This is based on Home Assistant naming conventions. I don't believe using lower-case entity names will be a problem though.

@hmmbob
Copy link
Contributor

hmmbob commented Aug 1, 2023

Yep, fixed on 1.32.2-dev commit: f619610

@RobertD502
Copy link
Author

RobertD502 commented Aug 1, 2023

@Koenkk Running 1.32.2-dev commit: [f619610](https://github.com/Koenkk/zigbee2mqtt/commit/f619610), but the issue still persists with both entity name equaling device name and entity name starts with device name:

2023-08-01 14:57:37.749 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT device name is equal to entity name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}, {'topic': 'zigbee/Kitchen Smart Plug/availability', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'availability_mode': 'all', 'command_topic': 'zigbee/Kitchen Smart Plug/set', 'device': {'identifiers': ['zigbee2mqtt_0x90fd9ffffe667d69'], 'manufacturer': 'Innr', 'model': 'Smart plug (SP 224)', 'name': 'Kitchen Smart Plug', 'sw_version': '2.7', 'connections': []}, 'json_attributes_topic': 'zigbee/Kitchen Smart Plug', 'name': 'Kitchen Smart Plug', 'payload_off': 'OFF', 'payload_on': 'ON', 'state_topic': 'zigbee/Kitchen Smart Plug', 'unique_id': '0x90fd9ffffe667d69_switch_zigbee', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'retain': False, 'encoding': 'utf-8', 'qos': 0, 'optimistic': False, 'payload_available': 'online', 'payload_not_available': 'offline', 'enabled_by_default': True}, this is not expected. Please correct your configuration. The entity name will be set to `null`
2023-08-01 14:57:37.894 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}, {'topic': 'zigbee/Kitchen Motion Sensor/availability', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'availability_mode': 'all', 'device': {'identifiers': ['zigbee2mqtt_0x286d97000104be4d'], 'manufacturer': 'SmartThings', 'model': 'Motion sensor (2018 model) (IM6001-MTP01)', 'name': 'Kitchen Motion Sensor', 'sw_version': '', 'connections': []}, 'device_class': <SensorDeviceClass.TIMESTAMP: 'timestamp'>, 'enabled_by_default': False, 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>, 'icon': 'mdi:clock', 'json_attributes_topic': 'zigbee/Kitchen Motion Sensor', 'name': 'Kitchen Motion Sensor last seen', 'state_topic': 'zigbee/Kitchen Motion Sensor', 'unique_id': '0x286d97000104be4d_last_seen_zigbee', 'value_template': Template<template=({{ value_json.last_seen }}) renders=0>, 'encoding': 'utf-8', 'qos': 0, 'force_update': False, 'payload_available': 'online', 'payload_not_available': 'offline'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Last seen'

I've restarted the broker and Home Assistant, but the issue still persists.

@hmmbob
Copy link
Contributor

hmmbob commented Aug 1, 2023

Can you confirm those timestamps are close to your actual time?

Asking because they're hours away from my timezone, but also minutes from now (if you disregard timezones) and I actually was looking at old logs just a few minutes ago as well. It appears that the system log page isn't fully cleared during reboot with the HA window open - a caching issue in the HA frontend.

I have no errors anymore from Zigbee2mqtt entities.

@RobertD502
Copy link
Author

RobertD502 commented Aug 1, 2023

Can you confirm those timestamps are close to your actual time?

Asking because they're hours of my timezone, minutes from now (if you disregard timezones) and I actually was looking at old logs just a few minutes ago as well. It appears that the system log page isn't fully cleared during reboot with the HA window open.

Yes these are up to date logs. Fresh log from the time I restarted Home Assistant (after zigbe2mqtt was pulled and up and running).

edit: Example after another restart:

2023-08-01 15:09:05.484 WARNING (MainThread) [homeassistant.components.mqtt.mixins] MQTT entity name starts with the device name in your config {'availability': [{'topic': 'zigbee/bridge/state', 'payload_not_available': 'offline', 'payload_available': 'online'}, {'topic': 'zigbee/Cellar Heater - 2nd/availability', 'payload_not_available': 'offline', 'payload_available': 'online'}], 'availability_mode': 'all', 'command_topic': 'zigbee/Cellar Heater - 2nd/set/power_on_behavior', 'device': {'identifiers': ['zigbee2mqtt_0xb0ce18140003f6ee'], 'manufacturer': 'Sengled', 'model': 'Smart plug (E1C-NB6)', 'name': 'Cellar Heater - 2nd', 'connections': []}, 'entity_category': <EntityCategory.CONFIG: 'config'>, 'icon': 'mdi:power-settings', 'json_attributes_topic': 'zigbee/Cellar Heater - 2nd', 'name': 'Cellar Heater - 2nd power on behavior', 'options': ['off', 'on', 'toggle', 'previous'], 'state_topic': 'zigbee/Cellar Heater - 2nd', 'unique_id': '0xb0ce18140003f6ee_power_on_behavior_zigbee', 'value_template': Template<template=({{ value_json.power_on_behavior }}) renders=0>, 'payload_available': 'online', 'retain': False, 'qos': 0, 'optimistic': False, 'enabled_by_default': True, 'payload_not_available': 'offline', 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Power on behavior'

Regarding caching issue: As long as you reload the website (in your browser, not the reload button on the log page), the log page will be refreshed and up to date after a restart. No need to empty cache.

@RobertD502
Copy link
Author

@Koenkk Indeed fixed!

@hmmbob's discussion regarding Home Assistant cache made me remember there are caching settings within Zigbee2MQTT. By disabling Persist cache state and Send cached state on startup, restarting Zigbee2MQTT, and then restarting Home Assistant, I can confirm that the warning logs are gone! So, it was a Zigbee2MQTT caching setting that was preventing the use of the new naming scheme.

@Drafteed
Copy link
Contributor

Drafteed commented Aug 2, 2023

Out of curiosity, after taking a quick look at the changes, any reason for choosing not to capitalize the entity name? For example, using Battery instead of battery. For entities with multiple words, only the first is capitalized (e.g., power on behavior would be Power on behavior) - This is based on Home Assistant naming conventions. I don't believe using lower-case entity names will be a problem though.

We tried to do this, but then reverted the change. #16702

@Koenkk Is f619610 a breaking change for HA users lower 2023.08.0, right?

@RobertD502
Copy link
Author

RobertD502 commented Aug 2, 2023

Out of curiosity, after taking a quick look at the changes, any reason for choosing not to capitalize the entity name? For example, using Battery instead of battery. For entities with multiple words, only the first is capitalized (e.g., power on behavior would be Power on behavior) - This is based on Home Assistant naming conventions. I don't believe using lower-case entity names will be a problem though.

We tried to do this, but then reverted the change. #16702

@Koenkk Is this a breaking change for HA users lower 2022.08.0? f619610

It looks like it was shot down because the way of handling the naming in that PR was too uniform in the sense that all names will only have the first letter capitalized which isn't always the case (as seen in the VOC example: Voc if the name is voc to begin with). However, you were indeed correct about how the entity name should look like.

The capitalization or not of the first word isn't a breaking change / not what this issue is about - I was just raising the capitalization discussion as a secondary question since the naming is being worked on at the moment. You could have an entity named BaTtErY and it won't raise an issue - it just isn't following the recommended naming convention. The breaking change came from the fact that entity names were either exactly the same as the device name, or were prefixed by the device name (Device name: Aqara, Entity name: Aqara humidity). However, @Koenkk has already fixed this with a PR introduced earlier today and the breaking change only applies starting with 2023.8. Technically, it doesn't apply anymore since the next Zigbee2MQTT release will have the fix implemented and being affected by the breaking change avoided.

@Koenkk
Copy link
Owner

Koenkk commented Aug 2, 2023

@Drafteed this is indeed somewhat breaking but there is no way we can prevent it (we don't have control over what HA users are running). I will put it as a note in the next release notes.

Assuming this can be closed now.

@Drafteed
Copy link
Contributor

Drafteed commented Aug 2, 2023

@Koenkk what do think about my last suggestion in #16702?

I propose to introduce a new property title in base Z2M herdsman expose class, containing the name of the exposed entity in the correct case and without using the underscore separator (e.g. Device temperature, VOC, Power outage count). I think the next release would be great for this change along with f619610

@nohn
Copy link

nohn commented Aug 3, 2023

It seems like the change breaks a lot of sensors. I have many https://www.zigbee2mqtt.io/devices/MCCGQ11LM.html#xiaomi-mccgq11lm installed. Those provided a balbalba_contact entity that now seems renamed to blabla_door:

image

image

image

@nohn
Copy link

nohn commented Aug 3, 2023

A downgrade to latest does not fix this. Entity stays named _door.

@RobertD502
Copy link
Author

RobertD502 commented Aug 6, 2023

I did.

Context from documentation:

state cache: state caching, MQTT message payload will contain all attributes, not only changed ones.
Has to be true when integrating via Home Assistant (default: true)

@marvinweber
Copy link

@Koenkk Indeed fixed!

@hmmbob's discussion regarding Home Assistant cache made me remember there are caching settings within Zigbee2MQTT. By disabling Persist cache state and Send cached state on startup, restarting Zigbee2MQTT, and then restarting Home Assistant, I can confirm that the warning logs are gone! So, it was a Zigbee2MQTT caching setting that was preventing the use of the new naming scheme.

For me this (as well as the upgrade to version 1.32.2 / 1ec1e57) did not solve the issue with those warnings. I still get the "MQTT device name is equal to entity name in your config" for a lot of entities and the one aka "MQTT entity name starts with device name" for even more entities.

Don't know if this could be related or the cause: for many devices I set a custom name in zigbee2mqtt (frontend) with the toggle "Update Home Assistant entity ID" enabled.
I also tested what happens when i actively rename a device in zigbee2mqtt to check if then the issue is resolved: it's not.

@tjorim
Copy link

tjorim commented Aug 6, 2023

For me this (as well as the upgrade to version 1.32.2 / 1ec1e57) did not solve the issue with those warnings.

Fix will only be included in the release of next month.

@RobertD502
Copy link
Author

@Koenkk Indeed fixed!

@hmmbob's discussion regarding Home Assistant cache made me remember there are caching settings within Zigbee2MQTT. By disabling Persist cache state and Send cached state on startup, restarting Zigbee2MQTT, and then restarting Home Assistant, I can confirm that the warning logs are gone! So, it was a Zigbee2MQTT caching setting that was preventing the use of the new naming scheme.

For me this (as well as the upgrade to version 1.32.2 / 1ec1e57) did not solve the issue with those warnings. I still get the "MQTT device name is equal to entity name in your config" for a lot of entities and the one aka "MQTT entity name starts with device name" for even more entities.

Don't know if this could be related or the cause: for many devices I set a custom name in zigbee2mqtt (frontend) with the toggle "Update Home Assistant entity ID" enabled.

I also tested what happens when i actively rename a device in zigbee2mqtt to check if then the issue is resolved: it's not.

It is fixed in the image tagged "latest-dev". Changing the name in Home Assistant doesn't fix the issue because the naming is caught upstream - although you change the name in Home Assistant, this doesn't change the entity name that is sent in the MQTT message, which is what triggers the exception in Home Assistant.

@marvinweber
Copy link

marvinweber commented Aug 6, 2023

Changing the name in Home Assistant doesn't fix the issue because the naming is caught upstream

I didn't change the name in Home Assistant, but in Zigbee2Mqtt directly. And because this actually reduced the amount of warnings in Home Assistant I was confused and thought that 1.32.2 should already contain the fix.

I'll try it with the dev version or with the next release. Thx!

@RobertD502
Copy link
Author

RobertD502 commented Aug 6, 2023

I didn't change the name in Home Assistant, but in Zigbee2Mqtt directly.

Ah. If you changed the name via the UI, then you either changed the friendly name or device name. With 32.2, the MQTT messages would still prefix the device name to the entity name. Only way, that I know of, to manually circumvent the errors in 32.2 is to manually name each and every entity for a given device within the configuration file. If you have a lot of Zigbee devices, this would take a while. It's a lot easier to just change your image to "latest-dev".

@Drafteed
Copy link
Contributor

Drafteed commented Aug 11, 2023

@Drafteed did you experience the same issue? I'm confused why it did not happen in my setup.

@Koenkk No, but if you remove a device or entity from HA and add it again, it will be added with a new HA entity_id, since it is generated based on the name and object_id is not explicitly set in the discovery payload. Proof.

@Koenkk
Copy link
Owner

Koenkk commented Aug 12, 2023

but if you remove a device or entity from HA and add it again

Z2M sets the object_id via the topic:

However if the name just changes when you remove the device from HA an add it again, I think we should not consider this as a blocking issue.

@bplatypus
Copy link

Hi, just switched to z2m (was using deconz before), should I use dev branch to configure my lights or can I just use the release?
Not really sure what impact this will have... I would like to avoid having to rename everything in my scenes, automations & node-red :-D.

I named all my lights in z2m with following pattern:
'room.deviceType.number'

ie: kitchen.light.1 or kitchen.switch.1

@outlying
Copy link

It is still a bit confusing if it's OK to wait for the fix or take action now and what to do exactly, I have 320 entities reported with warnings across 30+ devices.

Since all is working now and 2024.02 is a few months away should we assume it's likely to be fixed by the end of the year?

@hugalafutro
Copy link

I am wondering the same as @outlying Do I just keep updating to stable z2m and suddenly it will fix itself or am I to manually edit hundreds of entities/scripts etc?

@netweaver1970
Copy link

as stated numerous times before, it's already fixed in the next release: 1.33.x. You can use it already as part of the Edge version of the z2m add-on if you want but there's absolutely no real NEED for that, apart from cleaner logs (I temporarily switched over just for this), as the issue will be automatically solved at the next z2m go-live, end of this month.

There was no need for me to change any scripts/automations etc, as HA is gentle enough to make the current issue invisible, up to release 2028.2.

And after moving to the Edge version, all kept on working as before as well. I did have to do the z2m cache disable/enable actions as described above but that was a once-off. Maybe it would be good to have this actions build it into the next update, to prevent all 1000s of installations to have to do it manually. If not, it's not a problem either, it just would be nicer/cleaner.

@robert2s
Copy link

For Dutch users who search for clues to this problem: Home Assistant reports this problem as "Ontdekte MQTT entiteiten met een naam gelijk aan de apparaatnaam".

@ASNNetworks
Copy link

ASNNetworks commented Sep 11, 2023

So after updating everything and restarting etc etc (no error logs) I now end up with Zigbee devices that use the sensor type in the friendly name, like: Kantoor Beweging, became Kantoor Beweging Beweging. The only way to fix this is by manually changing the Home Assistant name in Zigbee2Mqtt for every sensor I have, and will connect in the future? Changing it to 'Kantoor' in Home Assistant name field, fixes the friendly name and allows me to still use Kantoor Beweging as Z2M name.

image

The worst part is that Home Assistant puts Door behind any contact sensor, even if it's declared as a Window sensor by Home Assistant itself. So the only solution is to change the friendly name of each contact sensor inside HA...

Is this really the solution, or am I missing something very obvious? Because this feels like an extremely bad solution having to manually change these things in order to not have a duplicated name or wrong sensor type names?

@bikeymouse
Copy link

While this is solved now largely with the updates from Home Assistant for all Zigbee devices, I still get the warning below, which is about not adhering to the naming conventions for the Z2MQT bridge states, version and health.

As I can not change the name, how can I get rid of these warnings?
`
MQTT entity name starts with the device name in your config {'name': 'Zigbee2MQTT Bridge state', 'unique_id': 'zigbee2mqtt_bridge_state', 'state_topic': 'zigbee2slzb/bridge/state', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'icon': 'mdi:router-wireless', 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>, 'device': {'identifiers': ['zigbee2mqtt'], 'name': 'Zigbee2MQTT', 'model': 'Zigbee2MQTT', 'manufacturer': 'Zigbee2MQTT', 'connections': []}, 'force_update': False, 'payload_not_available': 'offline', 'qos': 0, 'enabled_by_default': True, 'payload_available': 'online', 'availability_mode': 'latest', 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Bridge state'

MQTT entity name starts with the device name in your config {'name': 'Zigbee2MQTT Version', 'unique_id': 'zigbee2mqtt_version', 'state_topic': 'zigbee2slzb/bridge/info', 'value_template': Template<template=({{ value_json.version }}) renders=0>, 'icon': 'mdi:zigbee', 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>, 'device': {'identifiers': ['zigbee2mqtt'], 'name': 'Zigbee2MQTT', 'model': 'Zigbee2MQTT', 'manufacturer': 'Zigbee2MQTT', 'connections': []}, 'force_update': False, 'payload_not_available': 'offline', 'qos': 0, 'enabled_by_default': True, 'payload_available': 'online', 'availability_mode': 'latest', 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Version'

MQTT entity name starts with the device name in your config {'name': 'Zigbee2MQTT health', 'unique_id': 'zigbee2mqtt_healty', 'state_topic': 'zigbee2slzb/bridge/response/health_check', 'value_template': Template<template=({{ value_json['data']['healthy'] }}) renders=0>, 'icon': 'mdi:zigbee', 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>, 'device': {'identifiers': ['zigbee2mqtt'], 'name': 'Zigbee2MQTT', 'model': 'Zigbee2MQTT', 'manufacturer': 'Zigbee2MQTT', 'connections': []}, 'force_update': False, 'payload_not_available': 'offline', 'qos': 0, 'enabled_by_default': True, 'payload_available': 'online', 'availability_mode': 'latest', 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Health'
`

@bikeymouse
Copy link

While this is solved now largely with the updates from Home Assistant for all Zigbee devices, I still get the warning below, which is about not adhering to the naming conventions for the Z2MQT bridge states, version and health.

As I can not change the name, how can I get rid of these warnings? ` MQTT entity name starts with the device name in your config {'name': 'Zigbee2MQTT Bridge state', 'unique_id': 'zigbee2mqtt_bridge_state', 'state_topic': 'zigbee2slzb/bridge/state', 'value_template': Template<template=({{ value_json.state }}) renders=0>, 'icon': 'mdi:router-wireless', 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>, 'device': {'identifiers': ['zigbee2mqtt'], 'name': 'Zigbee2MQTT', 'model': 'Zigbee2MQTT', 'manufacturer': 'Zigbee2MQTT', 'connections': []}, 'force_update': False, 'payload_not_available': 'offline', 'qos': 0, 'enabled_by_default': True, 'payload_available': 'online', 'availability_mode': 'latest', 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Bridge state'

MQTT entity name starts with the device name in your config {'name': 'Zigbee2MQTT Version', 'unique_id': 'zigbee2mqtt_version', 'state_topic': 'zigbee2slzb/bridge/info', 'value_template': Template<template=({{ value_json.version }}) renders=0>, 'icon': 'mdi:zigbee', 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>, 'device': {'identifiers': ['zigbee2mqtt'], 'name': 'Zigbee2MQTT', 'model': 'Zigbee2MQTT', 'manufacturer': 'Zigbee2MQTT', 'connections': []}, 'force_update': False, 'payload_not_available': 'offline', 'qos': 0, 'enabled_by_default': True, 'payload_available': 'online', 'availability_mode': 'latest', 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Version'

MQTT entity name starts with the device name in your config {'name': 'Zigbee2MQTT health', 'unique_id': 'zigbee2mqtt_healty', 'state_topic': 'zigbee2slzb/bridge/response/health_check', 'value_template': Template<template=({{ value_json['data']['healthy'] }}) renders=0>, 'icon': 'mdi:zigbee', 'entity_category': <EntityCategory.DIAGNOSTIC: 'diagnostic'>, 'device': {'identifiers': ['zigbee2mqtt'], 'name': 'Zigbee2MQTT', 'model': 'Zigbee2MQTT', 'manufacturer': 'Zigbee2MQTT', 'connections': []}, 'force_update': False, 'payload_not_available': 'offline', 'qos': 0, 'enabled_by_default': True, 'payload_available': 'online', 'availability_mode': 'latest', 'encoding': 'utf-8'}, this is not expected. Please correct your configuration. The device name prefix will be stripped off the entity name and becomes 'Health' `

Am I the only one having this issue? If so, what can I do about it?

@quadcom
Copy link

quadcom commented Dec 8, 2023

Running 1.34.0-1 with HA 2023-12 and still seeing these messages, hundreds of them. I found them after troubleshooting a hue bulb going unvail in HA after 2 minutes, but controllable in Z2M. As well as an Aqara TVOC sensor not updating values in HA. I figured this error message could be attrib to the problems I was having.

Interestingly, all of those reports only mentioned devices that worked reliably in HA and Z2M.

I re-paired the TVOC to Z2M a couple of times and it seemed to clear up both that devices update lag and the hue bulb going unavail. At least for the last few hours now.

@RobertD502
Copy link
Author

Running 1.34.0-1 with HA 2023-12 and still seeing these messages, hundreds of them. I found them after troubleshooting a hue bulb going unvail in HA after 2 minutes, but controllable in Z2M. As well as an Aqara TVOC sensor not updating values in HA. I figured this error message could be attrib to the problems I was having.

Interestingly, all of those reports only mentioned devices that worked reliably in HA and Z2M.

I re-paired the TVOC to Z2M a couple of times and it seemed to clear up both that devices update lag and the hue bulb going unavail. At least for the last few hours now.

If you have Persist cache state and/or Send cached state on startup enabled in the Z2M settings, disable them then restart the container. When the container is up you can re-enable those settings.

@quadcom
Copy link

quadcom commented Dec 8, 2023

This is a good tidbit to keep in mind! THX.

@quadcom
Copy link

quadcom commented Dec 9, 2023

***perhaps this should get moved to it's own thread. I'm not positive that there is any relation to what I am seeing here and the naming issue

Well, I'm back to the disappearing Hue bulb. It was working fine for a while, but then I went and did the 2023.12.1 update, and both the Hue and the Aqara TVCO are awol in HA. I can see them and control them in Z2M but HA shows them unavailable.

I've deleted them in HA, shut down Z2M and restarted Z2M. They pop back up again but immediately go unavail.

I've made sure that all the cache in Z2M is disabled. I checked each device and made sure the cache was also unchecked.

I considered my wifi could be causing a problem and changed AP's channels and power output.

I've deleted the bulb again, renamed it in Z2M and then cold restarted Z2M.

Still, it's the same thing every time. HA finds it and adds it and immediately it's offline.

I have no idea what I need to check or do next to troubleshoot this!!!

Any ideas?

PS, All my other devices are working perfectly while this is all going on. I have door sensors, motion sensors and AC plugs. All working without an issue. It's just these two items that are not playing nicely.

@RobertD502
Copy link
Author

I recommend opening a new issue or seeking guidance on the Home Assistant community forums since the issue you are experiencing is not related to the one this issue thread is about.

@1mfaasj
Copy link

1mfaasj commented Dec 15, 2023

What steps do I need to do to fix the issue, its still present here.
I'm using the latest versions of HA and Zigbee2mqtt.

Also disabled and restarted: "Persist cache state and/or Send cached state on startup" already but that didnt solve the issue.

Do I need to change the mqtt device names or zigbee home automation device names?
Or the names / home assistant names in the zigbee2mqtt GUI? Or something else?

Thx

@RobertD502
Copy link
Author

What steps do I need to do to fix the issue, its still present here.

I'm using the latest versions of HA and Zigbee2mqtt.

Also disabled and restarted: "Persist cache state and/or Send cached state on startup" already but that didnt solve the issue.

Do I need to change the mqtt device names or zigbee home automation device names?

Or the names / home assistant names in the zigbee2mqtt GUI? Or something else?

Thx

Use a program such as MQTT explorer and delete all topics created by Z2M. There could be some things retained there that are causing your issue.

  • Disable the cache options and stop Z2M before doing this since you don't want Z2M recreating the topics while you're trying to clear them out.

Once all topics are cleared out, restart Z2M and re-enable the options if you want to.

@Koenkk Koenkk unpinned this issue Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests