Fixed led feedback on alert
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Pünkösd Marcell 2020-11-12 21:37:22 +01:00
parent df2d6e8869
commit 11e0aaf0c3

View File

@ -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):