mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-14 02:58:16 +01:00
23 lines
No EOL
412 B
Python
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 |