Changed WifiSensor from a Service to just a class.