NorthernMan54 / homebridge-yamaha-zone-tv

12 stars 5 forks source link

Question: Syntax for zone_controllers_only_for parameter #4

Closed CooperCGN closed 4 years ago

CooperCGN commented 5 years ago

Sorry to bother, but what is the syntax for the zone_controllers_only_for parameter if I just want the main zone to be exposed to HomeKit? I assume it’s something like “zone_controllers_only_for”: main

NorthernMan54 commented 5 years ago

I looked at the code, and I never implemented this function which I copied the over plugin over as a base. I have since fixed this. To find the name, when you run the code it will log the zone names “Adding TV Control for”. Just use that/

                    if (this.zoneControllersOnlyFor == null || this.zoneControllersOnlyFor.includes(zoneName)) {
                      this.log("Adding TV Control for", zoneName);

On May 15, 2019, at 3:43 PM, CooperCGN notifications@github.com wrote:

Sorry to bother, but what is the syntax for the zone_controllers_only_for parameter if I just want the main zone to be exposed to HomeKit? I assume it’s something like “zone_controllers_only_for”: main

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/NorthernMan54/homebridge-yamaha-zone-tv/issues/4?email_source=notifications&email_token=AEXEFGE7PSWJFLXUVHR3OQTPVRRVFA5CNFSM4HNGMMP2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUAHYSQ, or mute the thread https://github.com/notifications/unsubscribe-auth/AEXEFGHN75FPLUQAMIHE3B3PVRRVFANCNFSM4HNGMMPQ.