From a7b673ee6412b5c8ea0b0a93f60e945dd0fe2962 Mon Sep 17 00:00:00 2001 From: mirkokurt Date: Tue, 26 Sep 2023 17:21:12 +0200 Subject: [PATCH] Export timezone for things --- internal/template/extract.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/template/extract.go b/internal/template/extract.go index 5ec6b02e..843a37cc 100644 --- a/internal/template/extract.go +++ b/internal/template/extract.go @@ -32,6 +32,7 @@ import ( func FromThing(thing *iotclient.ArduinoThing) map[string]interface{} { template := make(map[string]interface{}) template["name"] = thing.Name + template["timezone"] = thing.Timezone // Extract template from thing structure var props []map[string]interface{}