I have several RF fans that I can control from a Bond bridge. These fans also have wifi smart switches that can turn power to the fan on and off. If you set the fan speed to 100% and then turn the fan off via the switch the bond bridge still reports that the fan is at 100% and shows it as on. That behavior is bit annoying and confusing, but totally understandable. The bond bridge doesn’t know about the switch so it can’t know that the fan is actually off.
What I’d like to be able to do is create a custom device that combines the switch and the bond bridge fan control. When you turn the switch off on the wall this device would report that the fan is off. When you turn the fan on it would report whatever the current speed from the bond bridge is. When you command the fan off from the dashboard it would turn the switch off rather than use the bond bridge to turn the fan off.
Is this possible? If so, can someone kindly point me in the right direction?