aboutsummaryrefslogtreecommitdiff
path: root/modern/src/attributes/useDeviceAttributes.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/attributes/useDeviceAttributes.js')
-rw-r--r--modern/src/attributes/useDeviceAttributes.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/modern/src/attributes/useDeviceAttributes.js b/modern/src/attributes/useDeviceAttributes.js
index f33fc065..8a4d886c 100644
--- a/modern/src/attributes/useDeviceAttributes.js
+++ b/modern/src/attributes/useDeviceAttributes.js
@@ -3,7 +3,8 @@ import { useMemo } from 'react';
export default (t) => useMemo(() => ({
speedLimit: {
name: t('attributeSpeedLimit'),
- type: 'string',
+ type: 'number',
+ subtype: 'speed',
},
'report.ignoreOdometer': {
name: t('attributeReportIgnoreOdometer'),