Remove state when entity is removed from registry#32184
Remove state when entity is removed from registry#32184balloob merged 1 commit intohome-assistant:devfrom
Conversation
|
I think that this change makes sense: Entity registry controls an entity. Updates to the registry already update name or remove the entity if disabled_by is set. This change makes sense. We do have to make sure to check all |
Codecov Report
@@ Coverage Diff @@
## dev #32184 +/- ##
======================================
Coverage ? 94.75%
======================================
Files ? 768
Lines ? 55647
Branches ? 0
======================================
Hits ? 52726
Misses ? 2921
Partials ? 0
Continue to review full report at Codecov.
|
|
There hasn't been any activity on this pull request recently. This pull request has been automatically marked as stale because of that and will be closed if no further activity occurs within 7 days. |
|
Let's merge it and see how it goes. |
Proposed change
When removing an entry from entity registry, also remove it from the state machine.
Type of change
Checklist
black --fast homeassistant tests)