diff --git a/src/udi/handlers/ttn/models/hottisThreeWayThermometer/hottisThreeWayThermometer.go b/src/udi/handlers/ttn/models/hottisThreeWayThermometer/hottisThreeWayThermometer.go index 2c4789a..1c75f03 100644 --- a/src/udi/handlers/ttn/models/hottisThreeWayThermometer/hottisThreeWayThermometer.go +++ b/src/udi/handlers/ttn/models/hottisThreeWayThermometer/hottisThreeWayThermometer.go @@ -4,6 +4,7 @@ import ( "log" "fmt" "bytes" + "strconv" "encoding/base64" "encoding/binary" "encoding/json" @@ -21,7 +22,7 @@ type hottisThreeWayThermometerValues struct { Value3 int32 } -func getSensorName(sensorsMap *map[string]string, uint64_t sensorAddress) string { +func getSensorName(sensorsMap *map[string]string, sensorAddress uint64) string { key := strconv.FormatUint(sensorAddress, 10) if sensorName, exists := (*sensorsMap)[key]; exists { return sensorName