Power monitoring only when light is on

You could do it with this, works great for devices with no power sensors