Nice to see that I’m not alone in doing this.
Here is my Fan control flow. I use the LIRC binding to control a Bionaire Fan, and I’ve added oscillation and speed, as well as the default On/Off.
Code if anyone is intrested
https://pastebin.com/raw/gXsgF0xK
