diff --git a/src/common/attributes/useDeviceAttributes.js b/src/common/attributes/useDeviceAttributes.js index eab9b8f68d..fe32959668 100644 --- a/src/common/attributes/useDeviceAttributes.js +++ b/src/common/attributes/useDeviceAttributes.js @@ -30,4 +30,12 @@ export default (t) => useMemo(() => ({ name: t('attributeDeviceInactivityPeriod'), type: 'number', }, + enablePositionForwarding: { + name: t('attributeDeviceAllowPositionForwarding'), + type: 'boolean', + }, + enableEventForwarding: { + name: t('attributeDeviceAllowEventForwarding'), + type: 'boolean', + }, }), [t]); diff --git a/src/resources/l10n/en.json b/src/resources/l10n/en.json index 631634db46..4d78fc4e2d 100644 --- a/src/resources/l10n/en.json +++ b/src/resources/l10n/en.json @@ -131,6 +131,8 @@ "attributeDeviceImage": "Device Image", "attributeDeviceInactivityStart": "Device Inactivity Start", "attributeDeviceInactivityPeriod": "Device Inactivity Period", + "attributeDeviceAllowPositionForwarding": "Forward Device Positions", + "attributeDeviceAllowEventForwarding": "Forward Device Events", "attributeProcessingCopyAttributes": "Processing: Copy Attributes", "attributeColor": "Color", "attributeWebLiveRouteLength": "Web: Live Route Length",