Closed mfgarvin closed 1 year ago
Create a hibernate function and call it here - e.g., if there's adoration from 11am-7pm, and there's a noon mass, hibernate (store) the adoration state and clear it from the active ledStatus to let something else run. https://github.com/mfgarvin/DOC_Mapboard/blob/e64813cc0f930e13f55a4358c0121b42559272d4/main.py#L314
Also, create a resume function and call it here - e.g., when something wraps up, see if there's a hibernating value for that id waiting to be woken up. If so, set it and call the proper functions. https://github.com/mfgarvin/DOC_Mapboard/blob/e64813cc0f930e13f55a4358c0121b42559272d4/main.py#L328
Added with commit ac07f0b
Create a hibernate function and call it here - e.g., if there's adoration from 11am-7pm, and there's a noon mass, hibernate (store) the adoration state and clear it from the active ledStatus to let something else run. https://github.com/mfgarvin/DOC_Mapboard/blob/e64813cc0f930e13f55a4358c0121b42559272d4/main.py#L314
Also, create a resume function and call it here - e.g., when something wraps up, see if there's a hibernating value for that id waiting to be woken up. If so, set it and call the proper functions. https://github.com/mfgarvin/DOC_Mapboard/blob/e64813cc0f930e13f55a4358c0121b42559272d4/main.py#L328