This HomeKit bug can render your iOS device unusable

How to turn off Auto-Brightness on iPhone