Skip to content

fix: remove installed app check during delete - #22

Merged
gabe565 merged 1 commit into
mainfrom
fix-delete-app
May 16, 2026
Merged

gabe565 merged 1 commit into
mainfrom
fix-delete-app

Conversation

@gabe565

@gabe565 gabe565 commented May 16, 2026

Copy link
Copy Markdown
Member

Fixes #19

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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)

medium

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.

@gabe565
gabe565 merged commit 44a6c9f into main May 16, 2026
5 checks passed
@gabe565
gabe565 deleted the fix-delete-app branch May 16, 2026 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't delete apps from Tronbyt 2.1.8+

1 participant