ESPHome: Removing dead entities

I have manually created an ESPHome Configuration but it didn’t work out the way I want it. Now, I want to delete everything that is associated with toilet_sensor.

In MQTT Explorer, I want to delete all these.
2021-06-22_20-17-55

I also noticed under homeassistant topic, I can see it is there as well.

homeassistant
  sensor
    toilet_sensor
    .
    .
    .
    .
  switch
    toilet_sensor

Since this device is not connected to HA any longer, it is as easy as deleting what is in the image above AND under homeassistant sensor and switch deleting both toilet_sensor folders?