Skip to content

Fix #5154 by checking if not none and handling edge case accordingly#5155

Open
xyzianz wants to merge 2 commits intohacs:mainfrom
xyzianz:fix_5154_handle_none_integration_case
Open

Fix #5154 by checking if not none and handling edge case accordingly#5155
xyzianz wants to merge 2 commits intohacs:mainfrom
xyzianz:fix_5154_handle_none_integration_case

Conversation

@xyzianz
Copy link

@xyzianz xyzianz commented Mar 12, 2026

Fix issue #5154 by checking if integration is not None or else falling by integration part of self.issue_id

step_id="confirm_restart",
data_schema=vol.Schema({}),
description_placeholders={"name": integration.display_name},
description_placeholders={"name": integration.display_name if integration is not None else integration_id},
Copy link
Member

Choose a reason for hiding this comment

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

AFAIK, this can only happen if the removed integration was from a custom repository.
I do not think the ID has any value here. Should we just say "Removed integration"?

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.

2 participants