Were the old entities manually defined (perhaps in your configuration.yaml
file) or were they automatically discovered?
-
If they were manually defined, delete them from the configuration file.
-
If they were automatically discovered, purge their MQTT Discovery topic. Use an MQTT client, like MQTT Explorer, to determine if there is a topic on your broker like
homeassistant/sensor/name_of_your_sensor/config
. If there is, use MQTT Explorer to delete it.