This is occurs when trying to remove a device configured that is causing issues.
A HomeKit accessory consists of one or more services (e.g. a fan with a light bulb attached should have two services). Please indicate how this device should be used:
Not a service - Do not use this deviceNot a service - Use as characteristic onlyLightbulb serviceFan serviceSwitch serviceOutlet serviceGarage door opener service (non-functional)Thermostat service (incomplete)
The configuration is invalid and cannot be saved. Please correct the error.
issue log
Sep-13 7:14:09 PMHomekit bridgeDEBUG: === Connection closed ===Sep-13 7:14:09 PMHomekit bridgeERROR: System.NullReferenceException: Object reference not set to an instance of an object. at HSPI_HomekitBridge.DeviceWrapper.MapDouble[T](Double value) at HSPI_HomekitBridge.DeviceWrapper.GetDeviceMappedValueForChar acteristic[T](CharacteristicTypeEnum characteristic) at HSPI_HomekitBridge.Entities.HkThermostatService.RefreshValue s() at HSPI_HomekitBridge.Entities.HkThermostatService..ctor(Device Wrapper wrapper) at HSPI_HomekitBridge.Entities.HkAccessory.GetServiceFromDevice (DeviceClass dev) at HSPI_HomekitBridge.HomeSeerAccessoryManager.GetAccessories() at **************.******** *****() at ************.***** *******(******* ** ) at ************.**** *********(Byte[] , Boolean ) at ************.**** ******(Byte[] ) at ************.*** *******(Byte[] ) at ************.* *******() at ***********.****** ******(Object )Sep-13 7:14:09 PMHomekit bridgeWARNING: === Connection error ===Sep-13 7:14:09 PMHomekit bridgeDEBUG: Exception occurred when handling request GET /accessories HTTP/1.1 Host: HomeSeer\032Bridge._hap._tcp.local Object reference not set to an instance of an object.Sep-13 7:14:08 PMHomekit bridgeDEBUG: (re)Initializing devicelist
A HomeKit accessory consists of one or more services (e.g. a fan with a light bulb attached should have two services). Please indicate how this device should be used:
Not a service - Do not use this deviceNot a service - Use as characteristic onlyLightbulb serviceFan serviceSwitch serviceOutlet serviceGarage door opener service (non-functional)Thermostat service (incomplete)
The configuration is invalid and cannot be saved. Please correct the error.
issue log
Sep-13 7:14:09 PMHomekit bridgeDEBUG: === Connection closed ===Sep-13 7:14:09 PMHomekit bridgeERROR: System.NullReferenceException: Object reference not set to an instance of an object. at HSPI_HomekitBridge.DeviceWrapper.MapDouble[T](Double value) at HSPI_HomekitBridge.DeviceWrapper.GetDeviceMappedValueForChar acteristic[T](CharacteristicTypeEnum characteristic) at HSPI_HomekitBridge.Entities.HkThermostatService.RefreshValue s() at HSPI_HomekitBridge.Entities.HkThermostatService..ctor(Device Wrapper wrapper) at HSPI_HomekitBridge.Entities.HkAccessory.GetServiceFromDevice (DeviceClass dev) at HSPI_HomekitBridge.HomeSeerAccessoryManager.GetAccessories() at **************.******** *****() at ************.***** *******(******* ** ) at ************.**** *********(Byte[] , Boolean ) at ************.**** ******(Byte[] ) at ************.*** *******(Byte[] ) at ************.* *******() at ***********.****** ******(Object )Sep-13 7:14:09 PMHomekit bridgeWARNING: === Connection error ===Sep-13 7:14:09 PMHomekit bridgeDEBUG: Exception occurred when handling request GET /accessories HTTP/1.1 Host: HomeSeer\032Bridge._hap._tcp.local Object reference not set to an instance of an object.Sep-13 7:14:08 PMHomekit bridgeDEBUG: (re)Initializing devicelist