Converting light switches

I havent’t tried these yet, but the comments further down the thread indicate that they work fine without HA being online