Flow: Warning, light has remained on

With this trigger card from the Device Capabilities app, it’s a piece of cake:
Screenshot from 2023-10-30 18-27-39

Flow:
Screenshot from 2023-10-30 18-24-42