import { useMemo } from 'react'; export default (t) => useMemo(() => ({ devicePassword: { name: t('attributeDevicePassword'), type: 'string', }, 'processing.copyAttributes': { name: t('attributeProcessingCopyAttributes'), type: 'string', }, 'decoder.timezone': { name: t('sharedTimezone'), type: 'string', }, deviceInactivityStart: { name: t('attributeDeviceInactivityStart'), type: 'number', }, deviceInactivityPeriod: { name: t('attributeDeviceInactivityPeriod'), type: 'number', }, }), [t]);