Skip to content

Commit

Permalink
Add humidity attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
tananaev committed Nov 6, 2024
1 parent 6c953ac commit 3d40c76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common/attributes/usePositionAttributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,10 @@ export default (t) => useMemo(() => ({
name: t('positionAcceleration'),
type: 'number',
},
humidity: {
name: t('positionHumidity'),
type: 'number',
},
deviceTemp: {
name: t('positionDeviceTemp'),
type: 'number',
Expand Down
1 change: 1 addition & 0 deletions src/resources/l10n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@
"positionMotion": "Motion",
"positionArmed": "Armed",
"positionAcceleration": "Acceleration",
"positionHumidity": "Humidity",
"positionTemp": "Temperature",
"positionDeviceTemp": "Device Temperature",
"positionCoolantTemp": "Coolant Temperature",
Expand Down

0 comments on commit 3d40c76

Please sign in to comment.