How to distinguish between manual push of a switch vs. automating turning on a switch

This functionality has been removed by most device handlers. There was some issues with it not being reported correctly and was “hackish”.

Thread can be found here: