My HA is installed on a pi4, and I’ve got my home energy consumption monitor entity with ID “sensor.maison_123_1min” that work well.
I’ve set an ESP32 to catch request over network that switch on my LEDs differently with variable power with URL form like : http://192.168.1.149/power=150
Thanks for your reply, my URL is good because i do a substring on the GET ESP32 webserver param.
I think i tried to add a rest_command directly as an automation but i believe to understand that it must be set as a service and the call this service from automation.
Great, i’ve edited my /config/configuration.yaml file with the rest command and i’ve selected it in automation with time patern second = 0 and he work perfectly !