Closed Apehaenger closed 5 months ago
what's the status on this one? PR points to your main, so there's currently a lot of changes (I think most of them for #80)
Oh, I'm sorry. Started to merge all my preferred PRs in my main branch. Bad idea :-/
This PR is only this one line in commit https://github.com/ClemensElflein/OpenMower/pull/82/commits/89247a40042e45e5bea713b119896c7cf91443ef Is it possible to merge only that single commit?
Thank you for the feedback, I have cherry-picked the commit onto main: https://github.com/ClemensElflein/OpenMower/commit/267df89c5546eb71686a738d972c60973eecdb51
I'll close this PR now.
Current behavior
If Stock-CoverUI triggers an emergency and get unplugged, emergency state can't be cleared anymore. Except by reboot.
New behavior
If UI-Avail code block detects that UI isn't available anymore, the save stock-emergency state get also cleared
Conclusion
Sure, this is not a real practical use-case, because normally no one unplugs his CoverUI while the mower is up. But it's possible (and I do it quite often ;-))