Closed eth0up closed 9 months ago
I came up with a workaround for now: I made a copy of the repo and changed the domain and labels to powerpetdoor2
/"Power Pet Door 2". I installed this duplicated/renamed copy of the integration in HA alongside the unmodified HACS version. I kept my primary pet door configured via the unmodified integration and added my secondary pet door to the duplicated/renamed instance of the integration. With this current config, each door state is independent and working as expected.
I faced the same issue and created PR: https://github.com/corporategoth/ha-powerpetdoor/pull/10
I mereged @sushantsaxena 's fix and release 0.4.4. Should be fixed in official now.
Thanks for the PR @sushantsaxena !
Describe the bug
When more than one Power Pet Door has been added in the integration, opening or closing one of the doors via Home Assistant causes both
cover
entities to have the same state. The incorrect state prevents opening or closing of the second door via Home Assistant.Steps To Reproduce
cover
entity.cover
entities changes to open or closed, but only the door you clicked/tapped physically moves.Expected behavior
Only the
cover
entity that was opened/closed should show state change.Screenshots
(Clicking "Exterior" door only)
(Resulting state of both doors)
Environment
Debug Logs