Toggle of devices (kasa bulbs / generic zwave switches) - maker api?

Hello all, I've been setting up a ton of flic buttons with the maker API which is a fantastic and very responsive combo - most devices don't seem to have their own native toggle command - is there a good solution to do this with devices that just have on/off exposed in the driver? apologies if I missed a post about a good way to do this

thanks

Answered my own question, rule machine + local end point - thanks habitat!!!!!!!