Linking plug to activity of another plug
To save power, I've set a schedule to turn off several devices like my soundbar and subwoofer at night when when I'm fairly ceratin no one is using them. This works reasonably well but it would be much more effiecient if I could just create a rule that would turn on the plugs for the soundbar and subwoofer when the TV is on and turn off the plug when TV is off. There doesn't seem to be any option for this in the Kasa app. The TV plug would stay on so that the app would be able to detect the power usage to determine the state of the TV. My TV uses less than a half watt when off.
The rule would be:
When TV Power consumption is more than 1 watt, turn On Soundbar Plug and Subwoofer Plug.
When TV Power cunsumption is less than 1 watt, turn Off Sounbar Plug and Subwoofer Plug.