Button Images do not change on button press.
Summary
Button images don't toggle between green and grey when pressed and stay grey by default.
Details
→ On the Site A screen, there will be a 3x3 grid of buttons. The buttons may be pressed to toggle their state between on (green)/off (grey).
→ There might be a situation where the button images do not show up as intended. While pressing any button instead of toggling its state between green/grey it remains grey as though we never clicked the button. This prevents you from understanding what button has been clicked and what not.
→ For Ex:- You need to enter the passcode 1762 and you accidentally pressed a wrong button. You have no way of knowing what button has been pressed.
→ Button image toggle is controlled by the root.change_img(self, button, idOG=<button_id>) function in the siteA.py file under the SiteAScreen class. The current state of the button image is controlled by the if-else conditions within the widget.source variable of the change_img function referencing the on.png and off.png for the green and grey images of the buttons respectively. Recheck the condition and fix necessary values within the variable.
Additional Information
Screenshots (if applicable)

Checklist
Button Images do not change on button press.
Summary
Button images don't toggle between green and grey when pressed and stay grey by default.
Details
→ On the Site A screen, there will be a 3x3 grid of buttons. The buttons may be pressed to toggle their state between on (green)/off (grey).
→ There might be a situation where the button images do not show up as intended. While pressing any button instead of toggling its state between green/grey it remains grey as though we never clicked the button. This prevents you from understanding what button has been clicked and what not.
→ For Ex:- You need to enter the passcode 1762 and you accidentally pressed a wrong button. You have no way of knowing what button has been pressed.
→ Button image toggle is controlled by the
root.change_img(self, button, idOG=<button_id>)function in thesiteA.pyfile under theSiteAScreenclass. The current state of the button image is controlled by the if-else conditions within thewidget.sourcevariable of thechange_imgfunction referencing the on.png and off.png for the green and grey images of the buttons respectively. Recheck the condition and fix necessary values within the variable.Additional Information
Screenshots (if applicable)
Checklist