I’m using two Aeotech SS6 smart switches and sensing the current. I laid out how I did this along with the template sensors and automations in this thread. Start at the post I linked to and then read down a post or two for more details.
Should give you a good starting point.