Skip to content

Commit

Permalink
Inactivity attributes for groups
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Sep 21, 2024
1 parent 2cd76a3 commit 2154ff1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 8 additions & 0 deletions src/common/attributes/useCommonDeviceAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,12 @@ export default (t) => useMemo(() => ({
name: t('attributeReportIgnoreOdometer'),
type: 'boolean',
},
deviceInactivityStart: {
name: t('attributeDeviceInactivityStart'),
type: 'number',
},
deviceInactivityPeriod: {
name: t('attributeDeviceInactivityPeriod'),
type: 'number',
},
}), [t]);
8 changes: 0 additions & 8 deletions src/common/attributes/useDeviceAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,4 @@ export default (t) => useMemo(() => ({
name: t('sharedTimezone'),
type: 'string',
},
deviceInactivityStart: {
name: t('attributeDeviceInactivityStart'),
type: 'number',
},
deviceInactivityPeriod: {
name: t('attributeDeviceInactivityPeriod'),
type: 'number',
},
}), [t]);

0 comments on commit 2154ff1

Please sign in to comment.