It’s night time and I want to turn off all the lights before I sleep. Naturally I ask Siri to “turn off all the lights”, and it turns off all my HA devices that are bridged via Homekit bridge. But since I have about ~30 devices, I see that the devices turn off one at a time in a random order, taking about a minute to finally settle. What’s worse, my HA devices can become unresponsive for a good few minutes, even if I toggle the HA entity directly!
Turning off 30 devices is a lot but I don’t think it should take that long. Most of my devices are z-wave light switches so I usually have a strong network. Obviously Siri is probably sending individual 30 commands to HA, and probably neither Siri nor HA know how to batch these commands into a single multicast one.
Though I’m not sure if Siri is necessarily the bottleneck here, since if I run the HA turn off lights action on all my devices, it is similarly slow. It also sometimes misses a lot of lights. And it’s just as slow whether I have all 30 lights on or just 1, which seems quite inefficient.
Anyone have advice on how to improve this?