Sensor enum migrated to class