sensor-powerspy: Fix one deprecation