Change response sources API

This commit is contained in:
Alexey Khit
2023-09-01 22:32:49 +03:00
parent 22787b979d
commit 0621b82aff
14 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -75,9 +75,9 @@ func Init() {
}
})
var items []api.Source
var items []*api.Source
for name, url := range entities {
items = append(items, api.Source{
items = append(items, &api.Source{
Name: name, URL: "hass:" + name, Location: url,
})
}