I know of someone else who complained about the same issue, but I never seen anyone address it. I have a c-7. So far with my other complaint of no color support for hub variables w/o connectors, I see no need to use them and standing down with anymore research with them.
I advocate for a pinned or static list of potential, known and to be fixed issues with workarounds if known. With no comments/threads allowed. Everyone looking at the one place is way more efficient than scanning and searching for something everywhere.
I appreciate your response. If true that hub variables do not clear with power outage, then wouldn't
it help if capture/restore stored to a hub variable and then could be restored from any rule? I am
trying to efficiently restore device state if the power goes off briefly and prevent lights coming on in middle of night. But I don't think to its efficient to have a single rule every so many minutes do a capture on multiple devices that may never change that day. I prefer (and do) save the state only when a device changes state. So my hub, if no device turns on, never is attempting to save state of that device to a hub variable. I am then monitoring a ring extender to see if it went to battery and when back on mains restore my device states. This has resolved my middle of the night light issues. But I figured it would be more efficient to use hub built-in commands like capture/restore. So far my hub variable device states have been there because I have a UPS during those brief power outages. I have never experienced a long outage to test whether the hub variables would solve that.
Soo (long winded), if I found hub variables do disappear if HUB off long enough, then I could save state to a local file and restore state from a local file and skip HUB variables completely.
Once I research some issues I am having since last upgrade, I think I am keeping Hubitat programming static. I enjoy being creative, but do not enjoy troubleshooting after every upgrade.
thanks for listening