How to get light switches that control a different light

It is possible to mirror one smart switch’s behavior to the other and vice versa. There was a recent discussion in this topic.

There was also a discussion of ways to turn dumb switches into smart switches in this topic.