I’m struggling to figure out how to properly write the config flow for the wake_on_lan component with the switch platform.
Specifically how to write the flow so that the component can be added without any switches. The component exposes a service (send_magic_packet).
I’ve successfully written a flow to just add the component without the switch platform. But once I add the additional steps to setup the platform I get errors when I don’t also configure a switch.
Does anyone know of any other components with a similar flow that I can work from? This is driving me nuts and I’m very close to just making it a custom component with the extra features via yaml.