decoupled the winIDs from the telemetry data

hell yeah, brother!
This commit is contained in:
2026-09-17 23:55:54 +01:00
parent 1ac4ab1865
commit dda300ce6b
8 changed files with 164 additions and 91 deletions
+2
View File
@@ -206,8 +206,10 @@ func (t *TelemetryService) SubscribeToFields() {
// _ = t.devService.SubscribeFields()
// TODO: we need to find a way of requesting devices to send all subscribed fields
// instead of going through the devices on DevService here
// REVAMP
for _, dev := range t.devService.Devices {
fields := dev.RequiredFields()
t.logger.Debug("requested fields", "fields", fields)
t.activeProvider.Subscribe(fields)
}
}