Fixed led feedback on alert
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
df2d6e8869
commit
11e0aaf0c3
@ -3,7 +3,7 @@ import random
|
||||
import os
|
||||
import os.path
|
||||
from .abcactuator import AbcActuator
|
||||
from birbnetes_iot_platform_raspberry import BirbnetesIoTPlatformPlaybackDriver
|
||||
from birbnetes_iot_platform_raspberry import BirbnetesIoTPlatformPlaybackDriver, BirbnetesIoTPlatformStatusDriver
|
||||
|
||||
"""
|
||||
Abstract base class for Sender
|
||||
@ -24,7 +24,7 @@ class Loudspeaker(AbcActuator):
|
||||
BirbnetesIoTPlatformPlaybackDriver.init(sound_dir)
|
||||
|
||||
def act(self):
|
||||
BirbnetesIoTPlatformStatusDriver.enqueue_pattern('blue', [1, 1, 1, 1])
|
||||
BirbnetesIoTPlatformStatusDriver.enqueue_pattern('blue', [1, 1, 1])
|
||||
BirbnetesIoTPlatformPlaybackDriver.play_one_random()
|
||||
|
||||
def __del__(self):
|
||||
|
Loading…
Reference in New Issue
Block a user