From 04e50e512f59983f330ac866793ff9da41ac4fce Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Wed, 3 Aug 2022 19:06:11 -0700 Subject: Implement refuel events --- modern/src/common/attributes/useCommonDeviceAttributes.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'modern/src') diff --git a/modern/src/common/attributes/useCommonDeviceAttributes.js b/modern/src/common/attributes/useCommonDeviceAttributes.js index 8a4d886c..f9214818 100644 --- a/modern/src/common/attributes/useCommonDeviceAttributes.js +++ b/modern/src/common/attributes/useCommonDeviceAttributes.js @@ -6,6 +6,14 @@ export default (t) => useMemo(() => ({ type: 'number', subtype: 'speed', }, + fuelDropThreshold: { + name: t('attributeFuelDropThreshold'), + type: 'number', + }, + fuelIncreaseThreshold: { + name: t('attributeFuelIncreaseThreshold'), + type: 'number', + }, 'report.ignoreOdometer': { name: t('attributeReportIgnoreOdometer'), type: 'boolean', -- cgit v1.2.3