send value for correct table update

This commit is contained in:
Adrian Zuercher
2025-08-06 22:02:18 +02:00
parent 21e4231e24
commit bc2e582203

View File

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