return {

	baseType = 'device',

	name = 'UV device adapter',

	matches = function (device, adapterManager)
		local res = (device.deviceType == 'UV')
		if (not res) then
			adapterManager.addDummyMethod(device, 'updateUV')
		end
		return res
	end,

	process = function (device, data, domoticz, utils, adapterManager)

		device.uv = tonumber(device.rawData[1])

		function device.updateUV(uv)
			local value = tostring(uv) .. ';0'
			return device.update(0, value)
		end
	end

}