Smart 3-Way mode needed Wyze Switch Single Click Smart Mode

My goal is to make Wyze switches 3-way or n-way switches. (I am close now but it takes extra presses)

I need a 3-way setting (on or off) in single click smart mode. This will essentially be an automatic switch status monitor.

In this 3-way ON mode, the switch would constantly query all the ON status of all connected bulbs, if ANY are ON the switches mode changes to ON, without doing anything. If ALL bulbs are OFF then the mode of the switch changes to OFF without doing anything.

This partially works by adding switches to the controlled items on the other switches but fails in practice with the details of cyclic execution.

The human interaction of the physical click would remain exactly as is now.