@property
def state(self) -> str:
    'Return the state.'
    return (STATE_ON if self.is_on else STATE_OFF)
Return the state.
@property
def state(self) -> str:
    
    return (STATE_ON if self.is_on else STATE_OFF)