Sorry for my hack code. I haven't spent time trying to learn python yet. I know the end result needs to be a bit more robust than what I kluged together to get it working.
Once I got it to see all three, and stop disabling communication to them, it's all actually been quite stable. I'm just starting to set up house modes, triggers and actions with them. I'm happy to pass along my experiences as I go along.