Skip to content

Commit

Permalink
Reduce logging
Browse files Browse the repository at this point in the history
  • Loading branch information
colemancda committed Mar 13, 2024
1 parent d45f18b commit 731f0eb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Sources/TempSensorHomeKit/Controller.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,6 @@ final class SensorBridgeController {
continue
} else if bridge(InkbirdThermometerAccessory.self, from: scanData) {
continue
} else if (scanData.advertisementData.localName ?? "").hasPrefix("GVH") {
log?("Unable to parse Govee \(scanData.advertisementData.localName ?? "")")
#if DEBUG
if let additionalData = scanData.advertisementData.manufacturerData?.additionalData {
log?("Invalid Govee manufacturer data: \([UInt8](additionalData))")
}
#endif
continue
} else if let manufacturerData = scanData.advertisementData.manufacturerData,
manufacturerData.companyIdentifier == GESensor.companyIdentifier {
log?("Unable to parse GE \(manufacturerData)")
Expand Down

0 comments on commit 731f0eb

Please sign in to comment.