(_request: WSGIRequest)
Manually triggers an alarm.
Manually triggers an alarm.
Manually triggers an alarm .
def trigger_alarm(_request: WSGIRequest) -> None:
    """Manually triggers an alarm."""
    playback.trigger_alarm()
    # because a state update is sent after every control (including this one)
    # a state update with alarm not being set would be sent
    # prevent this by manually setting this redis variable prematurely
    redis.set("alarm_playing", True)
def trigger_alarm ( _request : WSGIRequest ) -> None : playback . trigger_alarm ( ) # because a state update is sent after every control (including this one) # a state update with alarm not being set would be sent # prevent this by manually setting this redis variable prematurely redis . set ( "alarm_playing" , True )