feat: Removes sensor client in favor of more generic topic listener and publisher

This commit is contained in:
2024-11-12 16:42:14 -05:00
parent b6db9b5322
commit 8067331ff8
7 changed files with 141 additions and 224 deletions

View File

@@ -28,6 +28,9 @@ extension MQTTConnectionManager: TestDependencyKey {
}
public extension DependencyValues {
/// A dependency that is responsible for managing the connection to
/// an MQTT broker.
var mqttConnectionManager: MQTTConnectionManager {
get { self[MQTTConnectionManager.self] }
set { self[MQTTConnectionManager.self] = newValue }