Source code for caspia.meadow.services.outlet
from .base import Characteristic, ServiceBase
[docs]class OutletBase(ServiceBase):
""" Represents a power outlet. """
type = 'outlet'
is_on = Characteristic('bool', 'RWN')
toggle = Characteristic('void', 'W')