Using HTTP Shortcuts, I finally figured out the right JSON command to set the brightness level on my Kasa HS220 smart dimmer switch. You need to have a current token, UUID, and device ID for the Kasa switch.
First I created a variable in HTTP Shortcuts by clicking on the 3 dots and using...