diff --git a/SwiftyHue/Classes/BridgeResourceModels/Sensors/GenericFlagSensor/GenericFlagSensorConfig.swift b/SwiftyHue/Classes/BridgeResourceModels/Sensors/GenericFlagSensor/GenericFlagSensorConfig.swift index b3008ac..e35db69 100644 --- a/SwiftyHue/Classes/BridgeResourceModels/Sensors/GenericFlagSensor/GenericFlagSensorConfig.swift +++ b/SwiftyHue/Classes/BridgeResourceModels/Sensors/GenericFlagSensor/GenericFlagSensorConfig.swift @@ -17,7 +17,7 @@ public class GenericFlagSensorConfig: SensorConfig { } } -public func ==(lhs: DaylightSensorConfig, rhs: DaylightSensorConfig) -> Bool { +public func ==(lhs: GenericFlagSensorConfig, rhs: GenericFlagSensorConfig) -> Bool { return lhs.on == rhs.on && lhs.reachable == rhs.reachable && lhs.battery == rhs.battery &&