Allow customising the bridge name
lazyatom opened this issue · comments
It'd be neat to be able to change the name of the device (bridge) that appears when you first try to pair, which is I think defined here. Perhaps it could be given as an argument to RubyHome.run
?
Hey @lazyatom that is indeed the correct parameter to change. I’m on holiday at the moment but I can take a look when I return 🙂
Hey @lazyatom thanks for the suggestion I've gone ahead and implemented this #62 along with some other customisations that can be made.
I called the attribute you referred to as "bridge name" discovery_name
so you should be able to set it like this:
RubyHome.configure do |c|
c.discovery_name = 'My House'
end
I will merge and release this tomorrow night under 0.1.22
I just want to do some more testing locally before it's 🚢'ed.
Sounds great - thanks for this!