Skip to content

Commit

Permalink
#234 sensor.id fixed for saunabox und tempsensor
Browse files Browse the repository at this point in the history
  • Loading branch information
ka-vaNu committed Dec 26, 2024
1 parent 974c304 commit 4c97ed0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/saunabox.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ const datapoints = {
'saunabox#heat.sensors[0].id': {
path: 'heat.sensors.0.id',
type: 'state',
common: { name: 'ID of internal sensor', type: 'string', role: 'text', read: true, write: false },
common: { name: 'ID of internal sensor', type: 'numer', role: 'value', read: true, write: false },
},
'saunabox#heat.sensors[0].value': {
path: 'heat.sensors.0.value',
Expand Down
2 changes: 1 addition & 1 deletion lib/tempsensor.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const datapoints = {
'tempsensor#tempSensor.sensors[0].id': {
path: 'tempSensor.sensors.0.id',
type: 'state',
common: { name: 'ID of internal sensor', type: 'string', role: 'text', read: true, write: false },
common: { name: 'ID of internal sensor', type: 'number', role: 'value', read: true, write: false },
},
};

Expand Down

0 comments on commit 4c97ed0

Please sign in to comment.