Another option that may be less expensive would be to replace the switch with a smart relay switch. I've done this with a few fan models that I have including a DC fan and it works well. The fan controllers go back to their previous state when the Smart switch returns the power. You would have to test this to be sure it would work with your fan controller
Another option that may be less expensive would be to replace the switch with a smart relay switch. I've done this with a few fan models that I have including a DC fan and it works well. The fan controllers go back to their previous state when the Smart switch returns the power. You would have to test this to be sure it would work with your fan controller