Breaking changes for MQTT in Home Assistant 2023.8

OK, so more precisely:

  • In the device section, the lock entity must have all information, other entities only need to have name and identifier set
  • The lock and the door sensor binary sensor, entities should have name set to ""
  • The charging state binary sensor, battery level sensor and smart lock battery critical sensor don’t really need a name because their state will be their respective name, maybe some people would not agree with me and would prefer to have a name set to the battery critical binary sensor to avoid having two entities named Door name battery even if the state allows to make the difference
  • The door sensor battery critical should keep its actual name except the smart lock name should be removed from the name, else we will have two binary sensors for battery critical. IIRC the name should be Door sensor battery critical.
    Same for the fob battery critical sensor.

I hop I did not forget any entity.
The done side is for people using Home Assistant versions earlier than 2023.8 who won’t have the smart lock name in the entities.
They also will have default MQTT entity name for those which will have no name set at all and I don’t remember what happens for entities which have name set to null.

1 Like