Recent update turned back on duty cycle enforcement. Turning it back off showed a UI error? #98

Closed
opened 2026-10-27 09:33:03 +01:00 by adam · 4 comments
Owner

I'm running 1.0.11.dev23. Prior to updating to that, I had duty cycle disabled. Once this update applied that was turned back on, which is odd. If the user sets that off, it should remain off, right?

The bug is that when to Configuration > Duty Cycle, clicked "Edit Settings", and set Enforcement to disabled. The UI said there was an error, but the config change worked and was applied.

I'm running 1.0.11.dev23. Prior to updating to that, I had duty cycle disabled. Once this update applied that was turned back on, which is odd. If the user sets that off, it should remain off, right? The bug is that when to Configuration > Duty Cycle, clicked "Edit Settings", and set Enforcement to disabled. The UI said there was an error, but the config change worked and was applied. <!-- github-sync-id:4541984753 -->
adam closed this issue 2026-10-27 09:33:03 +01:00
Author
Owner

It also says Failed to Save Settings if I turn it back on.

Image
It also says Failed to Save Settings if I turn it back on. <img width="1429" height="803" alt="Image" src="https://github.com/user-attachments/assets/3561cb41-995d-4915-8f36-c0b791a77738" /> <!-- github-comment-id:4566091454 -->
Author
Owner

@rightup I'll have a look at this one.

@rightup I'll have a look at this one. <!-- github-comment-id:4569025745 -->
Author
Owner

@rightup for your review.

https://github.com/pyMC-dev/pyMC-RepeaterUI/pull/40

Fixes the direct issue and also caught a few other places where this incorrect pattern was being used. Also adds tests. Confirm tests run correctly and have checked all UI paths directly on a dummy device I have here.

@rightup for your review. https://github.com/pyMC-dev/pyMC-RepeaterUI/pull/40 Fixes the direct issue and also caught a few other places where this incorrect pattern was being used. Also adds tests. Confirm tests run correctly and have checked all UI paths directly on a dummy device I have here. <!-- github-comment-id:4569918134 -->
Author
Owner

changes have been made to companion, please re-test.

changes have been made to companion, please re-test. <!-- github-comment-id:4593033949 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/pyMC_Repeater#98