ridiekel / jeletask

An open source java API for Teletask domotics (https://www.teletask.be/).
https://github.com/ridiekel/jeletask
GNU General Public License v3.0
5 stars 4 forks source link

Removed jeletask configurations are not automatically removed from HA #24

Open claesmathias opened 2 years ago

claesmathias commented 2 years ago

I added a timed mood and changed it later to general mood, the entity can not always be removed (delete button disabled) in HA nor it is automatically done.

non-existing entity not automatically removed Screenshot 2022-10-11 at 11 04 47 delete button unavailable for non-existing entity Screenshot 2022-10-11 at 11 04 41

SanderM2 commented 2 years ago

You probably need to restart HA so that the entity becomes unavailable. The delete button should become available after that.

Unless you're using TELETASK_MQTT_RETAINED=true... If it's set to true HA will see the config topic again, after restarting, and the entity never becomes unavailable. So will not allow deletion... In that case you will need to manually remove the retained topic from your mqtt broker. Jeletask is not deleting retained topics for now. (It might be something for a future release...)