It seems like some HomeKit Automations are still broken in the release version of iOS 15 / tvOS 15. For instance, HomeKit shortcuts using conditional if statements where the brightness off a room (with a lux meter / motion sensor), or even the brightness of a lamp is checked, these conditionals are always interpreted as false.
I have a simple shortcut triggered by a button on a Hue Dimmer Switch:
If Lamp Is Off
>> Set Lamp to On 100% Brightness
>> If Lamp Brightness is greater than 50%
>>>> Set Lamp Brightness to 45%
>>>> Set Lamp to Off
>> End If
This worked flawlessly before iOS 15 / tvOS 15, where if the lamp is off when you press the button, the lamp would turn on and to 100% brightness. If the lamp already was on with a brightness greater than 50%, it would dim the lamp to 45% brightness. Else, it would turn the lamp off.
After the update, the light will only turn the light on to 100%, or turn it off.
This breaks a lot of HomeKit Automation shortcuts, so let’s hope Apple fixes this bug quickly.
UPDATE: There is a workaround for this bug.
I’ve written a more comprehensive post where I share three examples of the workaround.
UPDATE: It appears that the bug has been fixed with iOS 15.1 / tvOS 15.1 / HomePod Software Version 15.1.