Describe the bug
When a"magic Area Entity" is assigned to its Area and it is activated ("on"), it never goes off because it detects itself as a valid entity for calculating the new state.
To Reproduce
Steps to reproduce the behavior:
Assign a Magic Area Entity to its represented HA Area
Make the MAgic Areato enter the "on" state.
See that neves goes "off". Logs shows that the reason is its own previous state.
Expected behavior
A Magic Area should ignore itself when checking the states.
Additional context
Adding a Magic Area to the HA Area allow to be browsed easier. I fact, I suggest that a Magic Area Entity registers itself in the actual Area by default.
Describe the bug When a"magic Area Entity" is assigned to its Area and it is activated ("on"), it never goes off because it detects itself as a valid entity for calculating the new state.
To Reproduce Steps to reproduce the behavior:
Expected behavior A Magic Area should ignore itself when checking the states.
Additional context Adding a Magic Area to the HA Area allow to be browsed easier. I fact, I suggest that a Magic Area Entity registers itself in the actual Area by default.
Thanks for this component.