iot-platform-emulator/birbnetes_iot_platform_emul.../led_stuff.py

17 lines
374 B
Python
Raw Permalink Normal View History

2021-11-19 02:10:04 +01:00
import logging
class BirbnetesIoTPlatformStatusDriver:
@classmethod
def init(cls):
logging.debug("Initializing dummy status driver...")
@classmethod
def enqueue_pattern(cls, target: str, pattern: list):
logging.debug(f"Dummy status driver: Flashing status led: {target} <- {pattern}")
@classmethod
def cleanup(cls):
pass