diff --git a/XIONControlPanel/Servers/HubitatServer.swift b/XIONControlPanel/Servers/HubitatServer.swift index f593311..e3dbad9 100644 --- a/XIONControlPanel/Servers/HubitatServer.swift +++ b/XIONControlPanel/Servers/HubitatServer.swift @@ -50,7 +50,6 @@ public class HubitatServer : Server .mapError { $0 as Error } .map { $0.data } .decode(type: [HubitatDevice].self, decoder: JSONDecoder()) - .eraseToAnyPublisher() .sink(receiveCompletion: { completion in if case let Subscribers.Completion.failure(error) = completion { fetchCompletion(.failure(error))