Identify mains during device detection

A post was merged into an existing topic: Track Use by Phase