def turn_on(self):
        self._wol.send_magic_packet(self._mac_address)
        self.update_ha_state()
Turn the device on.
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/switch/wake_on_lan.py/WOLSwitch.turn_on