deiger / Alarm

Code to connect and control alarms by PIMA.
GNU General Public License v3.0
16 stars 11 forks source link

HA Warning in logs "MQTT device name is equal to entity name in your config" #25

Open maorcc opened 7 months ago

maorcc commented 7 months ago

I now constantly see the following warning in the home assistant core logs:

MQTT device name is equal to entity name in your config {...} this is not expected. Please correct your configuration. The entity name will be set to null

Both the device and the entity are called "PIMA Alarm".

According to the current HA documentation, the main entity of a device should have a null value for name. This will automatically name the entity with the same name. This is the same result as we have now, just without the annoying warning in the log.

See official documentation: https://www.home-assistant.io/integrations/mqtt/