def turn_off_screen():
    print('turning off screen')
    vcgm = Vcgencmd()
    output = vcgm.display_power_off(screen_id)
Exemple #2
0
def turn_off_screen():
    vcgm = Vcgencmd()
    output = vcgm.display_power_off(screen_id)
    logging.info('Turning off screen')
    notify_screen_state('Turning off screen')