diff --git a/lib/saunabox.js b/lib/saunabox.js index e7e871d..b65a51c 100644 --- a/lib/saunabox.js +++ b/lib/saunabox.js @@ -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', diff --git a/lib/tempsensor.js b/lib/tempsensor.js index 21c980b..fc48baa 100644 --- a/lib/tempsensor.js +++ b/lib/tempsensor.js @@ -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 }, }, };