MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / sleep

Method sleep

epd_helper.py:117–124  ·  view source on GitHub ↗

Put EPD to sleep mode.

(self)

Source from the content-addressed store, hash-verified

115 logger.error(f"Error during full display update: {e}")
116 raise
117
118 def sleep(self):
119 """Put EPD to sleep mode."""
120 try:
121 self.epd.sleep()
122 logger.info("EPD sleep mode activated.")
123 except Exception as e:
124 logger.error(f"Error putting EPD to sleep: {e}")
125 raise
126
127 @staticmethod

Callers 15

wipe_displayFunction · 0.95
auto_detectMethod · 0.45
_reaper_loopMethod · 0.45
_run_nuclei_scanMethod · 0.45
_is_zap_runningMethod · 0.45
_cleanup_dead_zapMethod · 0.45
stop_zap_daemonMethod · 0.45
_setup_api_scanMethod · 0.45
_run_zap_spider_innerMethod · 0.45

Calls 2

infoMethod · 0.80
errorMethod · 0.80

Tested by 14

parent_actionFunction · 0.36
child_actionFunction · 0.36
executeMethod · 0.36
run_manualMethod · 0.36
track_device_movementMethod · 0.36
delayMethod · 0.36
frame_syncMethod · 0.36
delayMethod · 0.36
frame_syncMethod · 0.36
slow_ok_runnerFunction · 0.36