(self)
Makes alarm the current program but doesn't update the database.
Makes alarm the current program but doesn't update the database.
Makes alarm the current program but doesn t update the database .
def alarm_started(self) -> None:
        """Makes alarm the current program but doesn't update the database."""
        self.alarm_program.use()

        leds.disable_pwr_led()

        self.last_fixed_color = self.fixed_color
        for device in [self.ring, self.wled, self.strip]:
            self.set_program(device, self.led_programs["Fixed"])
def alarm_started ( self ) -> None : self . alarm_program . use ( ) leds . disable_pwr_led ( ) self . last_fixed_color = self . fixed_color for device in [ self . ring , self . wled , self . strip ] : self . set_program ( device , self . led_programs [ "Fixed" ] )