Closed danward79 closed 6 years ago
I suspect that the unit of a predefined characteristic cannot be changed – HomeKit expects lux as the unit for the current ambient light level characteristic.
Why not use a read-only brightness characteristic instead?
Thanks, that sounds like a sensible idea!
Hi,
In the Home app on iOS, the units for light level are lux. I have set the unit to Percentage and the app does not change the unit and remains as lux.
Example code below
Does anyone have any ideas, why the unit is not changing in iOS? I have also tried this with a custom light sensor type, with the same result.
Thanks