Contents
import abc [docs] class PowerProtocol(abc.ABC): [docs] @abc.abstractmethod def on(self): raise NotImplementedError [docs] @abc.abstractmethod def off(self): raise NotImplementedError [docs] @abc.abstractmethod def cycle(self): raise NotImplementedError