Check out the Sonoff Dual R3. It is a two-gang smart switch relay product that can measure power usage in a small size. It is a flush-mounted Wi-Fi smart dual relay switch module that can be installed behind any standard switch or electric socket. It is compatible with lights and roller shutters. Check this video to learn more:
If you’re looking for an all-in-one solution, check the Sonoff NSPanel.