When it's dark the homebridge-zway plugin reports a value of 0 lux to homekit. The minimum value for the mapped characteristic CurrentAmbientLightLevel in homekit is 0.0001. As a result the value 0 leads to an error in homekit.
As a solution all lux values below 0.0001 should be set to 0.0001.
When it's dark the homebridge-zway plugin reports a value of 0 lux to homekit. The minimum value for the mapped characteristic CurrentAmbientLightLevel in homekit is 0.0001. As a result the value 0 leads to an error in homekit. As a solution all lux values below 0.0001 should be set to 0.0001.