[homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet

I currently use Home Assistant’s MQTT Broken addon. I used to use an mqtt client called IOTLINK with it. However, I uninstalled IOTLink a few years ago from my Windows PC. Unfortunately, after each reboot of Home Assistant, I’m still getting the warning log messages below.

2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_cpu_usage/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_memory_usage/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_memory_available/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_memory_used/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_memory_total/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_networkinfo_0_ipv4adress/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_networkinfo_0_ipv6adress/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_networkinfo_0_speed/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_networkinfo_0_bytessent/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_networkinfo_0_bytesreceived/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_c_totalstorage/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_c_availablefreespace/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_c_totalfreespace/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_c_usedspace/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_c_driveformat/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_c_driveusage/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_c_volumelabel/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_e_totalstorage/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_e_availablefreespace/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_e_totalfreespace/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_e_usedspace/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_e_driveformat/config'
2022-07-15 04:06:45 WARNING (MainThread) [homeassistant.components.mqtt.discovery] Received message on illegal discovery topic 'homeassistant/sensor/iotlink/mkanet_horizon_harddrive_e_driveusage/config'

I currently only have 1 MQTT client running which I use (EventGhost MQTT client) which is still running; however, it has nothing to do with IOTLINK. What’s causing these errors? How can I prevent these errors from being produced? Is there an MQTT broken database that has old MQTT entries that need to be removed? If so, how?

Thanks in advance!

A proper config topic is in the like of:
homeassistant/sensor/my_entity_id/config

You have a sublevel too much (iotlink?)

Thanks for the reply. I don’t have iotink installed anymore. I’m not sure how Home Assistant even gets these messages.

Ah, likely you have retained message dating back then.
Use a tool like MQTTExplorer to remove those topics

Thank you I think I have that installed on my Windows PC. I’ll check it out.