def turn_off(self):
        if self._send_code(self._code_off, self._protocol, self._pulselength):
            self._state = False
            self.update_ha_state()
Turn the switch off.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/rpi_rf.py/RPiRFSwitch.turn_off