Alright, I spent some time creating a much better, more robust, and entirely functional implementation that’ll work until the API leaves beta and a proper integration can be created.
I call it “Hacky Bond Integration”! It’s fairly long, so I put it up here:
https://pastebin.com/wHewNTtX
Some additional notes with further tinkering:
-
I already had a “switch” key in my config closer to the top like:
switch: !include_dir_merge_list switches
… and including another “switch” key was causing none of my other switches to be configured correctly. I just moved the switches for bond into a bond.yaml file in my switches directory. Seems this is true for most of the components, so you’ll likely need to break the yaml up depending on how your config file is set up.
-
I went ahead and created switches to toggle the fan on/off as well so that way I could control it via emulated_hue and homekit without needing to deal with homekit’s weird speed rules. I mostly just wanted the ability to toggle the fan on and off. Once the fan switch is in homekit you can set it as a fan and it has a fancy little animation.