Wake_on_Lan and custom components break config

After my update to HASS 92.2 I had problems starting hass. After lot of testing, because no errors shown, I found that a problem with the wake_on_lan config breaks the config. Latest version without problems was hass 0.90, any changes I missed?

Looks like the turn_off part makes the problem, but no idea why. Was working in the lasts years without problems.

Also the custom components (Alexa media player and custom updater both latest versions) block my hass from start.

After removing the custom components and wake_on_lan config it starts without problem.

But I need this stuff so how can I get it back working?

There have been a bunch of info in the last few releases about chainging the way custom_components are setup within the directory.


Start there and work your way to current.

I use the wake on lan component and don’t recall needing to adjust it recently. Can you share your config? Another of the changes happening recently is that HA use to ignore bad configs, now it is documenting them in the logs and not ignoring them which can break things.

For custom components I removed custom updater and loaded latest version of Alexa media player, has the service and manifest file. But still blocks starting.

Here is my WOL config, worked in the last years without problems.

- platform: wake_on_lan
  mac_address: "F8-32-E4-6F-07-D6"
  name: SkyNAS
  host: 192.168.1.3
  turn_off:
    service: shell_command.skynas_off

If I remove the turn_off config part it starts, with this lines not.

Hmm, nothing jumps out to me as wrong with that config.

What else is around it, additional switches?

What does the log say?

The log says nothing special, no errors. About wake_on_lan it say

2019-05-03 19:32:26 INFO (SyncWorker_18) [homeassistant.loader] Loaded wake_on_lan from homeassistant.components.wake_on_lan
2019-05-03 19:32:28 INFO (MainThread) [homeassistant.setup] Setting up wake_on_lan
2019-05-03 19:32:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event service_registered[L]: domain=wake_on_lan, service=send_magic_packet>
2019-05-03 19:32:28 INFO (MainThread) [homeassistant.setup] Setup of domain wake_on_lan took 0.0 seconds.
2019-05-03 19:32:28 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=wake_on_lan>
2019-05-03 19:32:28 INFO (MainThread) [homeassistant.components.switch] Setting up switch.wake_on_lan
2019-05-03 19:32:28 INFO (MainThread) [homeassistant.components.switch] Setting up switch.wake_on_lan

Do you know what the web ui is called when starting? So I could check if there is an error about it in the logs

If it helps I could generate a full log output. I could not find any problems in log. Not about wake_on_lan or any custom components like Alexa media player.

That would tell me that wake on lan is loading just fine. Im guessing your formatting somewhere else in the file is causing the issue.

As for the custom component setup,

did you follow the directions here?