def turn_off(self, **kwargs):
        from scsgate.tasks import ToggleStatusTask

        scsgate.SCSGATE.append_task(
            ToggleStatusTask(
                target=self._scs_id,
                toggled=False))

        self._toggled = False
        self.update_ha_state()
Turn the device off.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/light/scsgate.py/SCSGateLight.turn_off