Skip to content

Commit

Permalink
Integer time_stamp fix (#508)
Browse files Browse the repository at this point in the history
Integer time_stamp fix to be not wrongly discovered as timestamp device class
  • Loading branch information
DigiH authored Jan 31, 2024
1 parent e0e7506 commit e397bdf
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/devices/ThermoBeacon_json.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const char* _ThermoBeacon_json = "{\"brand\":\"GENERIC\",\"model\":\"ThermoBeaco
}
})"""";*/

const char* _ThermoBeacon_json_props = "{\"properties\":{\"volt\":{\"unit\":\"V\",\"name\":\"voltage\"},\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"time\":{\"unit\":\"int\",\"name\":\"timestamp\"},\"tempc_max\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"time_max\":{\"unit\":\"int\",\"name\":\"timestamp\"},\"tempc_min\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"time_min\":{\"unit\":\"int\",\"name\":\"timestamp\"},\"mac\":{\"unit\":\"string\",\"name\":\"MAC address\"}}}";
const char* _ThermoBeacon_json_props = "{\"properties\":{\"volt\":{\"unit\":\"V\",\"name\":\"voltage\"},\"tempc\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"hum\":{\"unit\":\"%\",\"name\":\"humidity\"},\"time\":{\"unit\":\"int\",\"name\":\"time_stamp\"},\"tempc_max\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"time_max\":{\"unit\":\"int\",\"name\":\"time_stamp\"},\"tempc_min\":{\"unit\":\"°C\",\"name\":\"temperature\"},\"time_min\":{\"unit\":\"int\",\"name\":\"time_stamp\"},\"mac\":{\"unit\":\"string\",\"name\":\"MAC address\"}}}";
/*R""""(
{
"properties":{
Expand All @@ -68,23 +68,23 @@ const char* _ThermoBeacon_json_props = "{\"properties\":{\"volt\":{\"unit\":\"V\
},
"time":{
"unit":"int",
"name":"timestamp"
"name":"time_stamp"
},
"tempc_max":{
"unit":"°C",
"name":"temperature"
},
"time_max":{
"unit":"int",
"name":"timestamp"
"name":"time_stamp"
},
"tempc_min":{
"unit":"°C",
"name":"temperature"
},
"time_min":{
"unit":"int",
"name":"timestamp"
"name":"time_stamp"
},
"mac":{
"unit":"string",
Expand Down

0 comments on commit e397bdf

Please sign in to comment.