Split turn on function in two step & add more meaningful log infos/warn/error. (One of my issue was that I was not running the docker container in host network).
I have been running this for about two weeks now. The "turn on" command works perfectly.
Using OLED903 & LAN WOL (wifi disabled).
Of course, ideally we want to make this async, but if I understand correctly, the whole component should be rewritten to async.
Move wakeonlan import (as specified here https://developers.home-assistant.io/docs/en/0.85/creating_component_deps_and_reqs.html#note). It doesn't matters much, because wakeonlan is already loaded by home assistant. That's why it does work even if the import was not in the right place.
Split turn on function in two step & add more meaningful log infos/warn/error. (One of my issue was that I was not running the docker container in host network).
I have been running this for about two weeks now. The "turn on" command works perfectly. Using OLED903 & LAN WOL (wifi disabled).
Of course, ideally we want to make this async, but if I understand correctly, the whole component should be rewritten to async.