I have several Kasa smart lightbulbs integrated to smarthub (aerotec model). There are a couple bulbs that frequently go off-line … so commands / routines fail. When I open the Smartthings hub / app they go “back online” when I click them or at worst, trigger diagnostics … no other intervention is needed.
I’ve tried reconnecting the kasa login several times.
What could explain this devious behavour of these errant bulbs
Since you already have an Aeotec SmartThings hub, I’d strongly recommend replacing the Kasa Wifi bulbs with either Zigbee bulbs (Sengled, IKEA, Philips, …) or even better with Matter over Thread bulbs (Nanoleaf Essentials or the upcoming Aqara bulbs). Everything would work locally without the need for a third-party cloud.