I operate a rooftop solar power station. While I have scripted all the individual components like battery management, Inverters and the various sinks (for where the power goes when it’s not needed immediately) using Grafana to get alerts, I use automation to activate the various scenes and settings to maximise the useful power I get from the system.
fortunately this only affects mercury based lamps which no one in their right mind wants to deal with when they blow anyway. laser, led and xenon/halide projectors are unaffected and have been on the market for ten years.