KASA KS-240 Light switch control with flow

Did you check if those fan/light controllers are actually supported by these Kasa apps?
I didn’t find anything which looks / sounds like one @ homey.app app pages

The only thing you can do is

BUT:
A standard virtual switch doesn’t do the trick anymore

You’ll have to use a virtual kettle (or lock, but a “kettle device type” mimics a switch better):

(Maybe there’s other device classes which work as well, but I didn’t try all 79 of 'em)