コード例 #1
0
 def stop_cover(self, **kwargs):
     """Stop the cover."""
     self._scsgate.append_task(HaltRollerShutterTask(target=self._scs_id))
コード例 #2
0
    def stop(self, **kwargs):
        """ Stop the device. """
        from scsgate.tasks import HaltRollerShutterTask

        scsgate.SCSGATE.append_task(HaltRollerShutterTask(target=self._scs_id))