craftbeerpi4-pione/core/api/actor.py

18 lines
263 B
Python
Raw Normal View History

2018-11-16 20:35:59 +01:00
__all__ = ["CBPiActor"]
2018-11-01 19:50:04 +01:00
2018-11-01 21:25:42 +01:00
import logging
2018-11-01 19:50:04 +01:00
2018-11-01 21:25:42 +01:00
from core.api.extension import CBPiExtension
2018-11-18 15:40:10 +01:00
2018-11-01 21:25:42 +01:00
logger = logging.getLogger(__file__)
2018-11-01 19:50:04 +01:00
2018-11-01 21:25:42 +01:00
class CBPiActor(CBPiExtension):
2018-11-01 19:50:04 +01:00
def on(self, power):
pass
def off(self):
pass
def state(self):
pass