Skip to content

Commit

Permalink
Merge pull request #242 from ka-vaNu/234-tempsensorac-sensorid-müsste…
Browse files Browse the repository at this point in the history
…-string-sein-liefert-number

#234 sensor.id fixed for saunabox und tempsensor
  • Loading branch information
ka-vaNu authored Dec 26, 2024
2 parents b66ae05 + 4c244ab commit 9ba271b
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: 'number', 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 9ba271b

Please sign in to comment.