Hello everyone! I have been searching for an example of this but no luck so far. The best I could find was the scenes custom tile.
I wanted to create a custom tile to control light level from a slider in the custom tile (not as popup). The actual HTML and JS are easy enough, but I can’t find an example / api to actually set the device and control it, only the official light switch tiles seem to do that.
@Dinis_Carvalho, you can create a rule with HTTP Trigger, and send the HTTP request from the custom tile to execute the rule. Here is a screenshot example for your reference how you can access the parameter from the HTTP request and use the parameter to set the light level in the rule flow.