         NSNotificationCenter.defaultCenter().addObserver(self, selector: "handleCacheInvalidation", name: homeUpdateNotification, object: nil)
     }
     
-    func handleCacheInvalidation() {
+    @objc func handleCacheInvalidation() {
         if databaseIndex != Core.sharedInstance.versionIndex {
             NSLog("Invalidate Accessory Internal Cache")
             if let accessory = Core.sharedInstance.getAccessoryWithIdentifier(accessoryIdentifier) {

        NSNotificationCenter.defaultCenter().addObserver(self, selector: "handleCacheInvalidation", name: homeUpdateNotification, object: nil)
    }
    
    func handleCacheInvalidation() {
        if databaseIndex != Core.sharedInstance.versionIndex {
            NSLog("Invalidate Characteristic Internal Cache")
            if let accessory = Core.sharedInstance.getAccessoryWithIdentifier(accessoryIdentifier) {

        NSNotificationCenter.defaultCenter().addObserver(self, selector: "handleCacheInvalidation", name: homeUpdateNotification, object: nil)
    }
    
    @objc func handleCacheInvalidation() {
        if databaseIndex != Core.sharedInstance.versionIndex {
            NSLog("Invalidate Room Internal Cache")
            if let currentHome = Core.sharedInstance.currentHome {
