craftbeerpi4-pione/core/api/actor.py
2018-11-16 20:35:59 +01:00

23 lines
No EOL
412 B
Python

__all__ = ["CBPiActor"]
import logging
from core.api.extension import CBPiExtension
from core.utils.utils import load_config as load
logger = logging.getLogger(__file__)
class CBPiActor(CBPiExtension):
def __init__(self, cbpi):
self.id = ""
self.state = None
self.name = ""
def on(self, power):
pass
def off(self):
pass
def state(self):
pass