Hub shut down rule with Router down question, Hub will still have DC power temporarily

Could you use localhost or 127.0.0.1 instead of the IP?

This works: [DRIVER] Zooz ZAC38 Range Extender (and Power Outage Monitor)