Control Device option not available for Automation

There’s an ESP8266 version a few posts down from the ESP32 example…

I’m still curious why you don’t find MQTT a good solution. It’s all I ever use for my Home Automation projects.

Pete.