Wake On Lan Failure

My Wake On Lan switch has stopped working of late. I’m running Hass OS (32-bit) on a Pi. It was working flawlessly prior to 0.74.
Anyone else getting similar issues?

Error executing service <ServiceCall switch.turn_on: entity_id=['switch.wake_on_lan']>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/core.py", line 1038, in _event_to_service_call
    await service_handler.func(service_call)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/switch/__init__.py", line 109, in async_handle_switch_service
    await switch.async_turn_on()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/switch/wake_on_lan.py", line 87, in turn_on
    self._wol.send_magic_packet(self._mac_address)
AttributeError: module 'wakeonlan' has no attribute 'send_magic_packet'
1 Like

same problem. did you solve?

No. I raised an issue:

https://github.com/home-assistant/home-assistant/issues/15756

Got it working by deleting the deps folder.