1 Commits

Author SHA1 Message Date
Adrian Zuercher
bc2e582203 send value for correct table update 2025-08-06 22:02:18 +02:00

View File

@@ -349,12 +349,14 @@ func (d *Datapoint) RemoveDatapoint(set json_dataModels.Set) (sets []json_dataMo
Event: OnChange, Event: OnChange,
Uuid: dp.Uuid, Uuid: dp.Uuid,
Path: dp.Path, Path: dp.Path,
Value: dp.Value,
Drivers: &dp.Drivers, Drivers: &dp.Drivers,
}) })
sets = append(sets, json_dataModels.Set{ sets = append(sets, json_dataModels.Set{
Uuid: dp.Uuid, Uuid: dp.Uuid,
Path: dp.Path, Path: dp.Path,
Drivers: &dp.Drivers, Drivers: &dp.Drivers,
Value: dp.Value,
}) })
} else { } else {
s, pubs := removeChildren(dp) s, pubs := removeChildren(dp)