Repository navigation
fix: remove installed app check during delete - #22
Conversation
There was a problem hiding this comment.
Code Review
This pull request removes the getinstalledapps helper function and the logic that validates whether a content ID is installed before performing delete or update operations. The reviewer identified that the handle_installation_update function appears to be dead code as it is not registered as a service or called elsewhere in the integration, and suggested removing the entire function to improve maintainability.
I am having trouble creating individual review comments. Click here to see my feedback.
custom_components/tronbytassistant/init.py (438-447)
The function handle_installation_update appears to be dead code as it is not registered as a service (only push, text, and delete are registered in _async_register_services) nor is it called anywhere else in the integration. Since you are already modifying this function by removing the installation check, it would be better to remove the entire function to improve code maintainability.
Fixes #19