I think you missed the point. You are overcomplicating something with a much easier solution.
You already have a "smart" switch. Make your programming smarter to avoid the problem instead of a using a complicated workaround.
I think you missed the point. You are overcomplicating something with a much easier solution.
You already have a "smart" switch. Make your programming smarter to avoid the problem instead of a using a complicated workaround.