lprhodes/homebridge-apple-tv

Multiple ATV and "defaultSwitchesIncludeATVName": true results in wrong labeling

Opened this issue · 0 comments

I have an ATV in the living room and one in the Bedroom. Configuration with the option:

"defaultSwitchesIncludeATVName": true

results in wrong labels:

[2018-9-8 01:11:37] [Apple TV] Mic/Siri (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Menu (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Select (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] TV/Home (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Up (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] TV/Home (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Sleep (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Mic/Siri (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Down (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Left (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Right (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Pause (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Right (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Pause (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Up (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Play (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Sleep (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Left (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Play (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Down (Living Room) (Master Bedroom) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Menu (Living Room) getSwitchState: false
[2018-9-8 01:11:37] [Apple TV] Select (Living Room) getSwitchState: false