diff --git a/package.json b/package.json index 70999d5..93dac23 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "license": "UNLICENSED", "displayName": "Yamaha AVR", "name": "homebridge-yamaha-avr", - "version": "3.0.0-beta.2", + "version": "3.0.0-beta.3", "description": "homebridge-plugin - Add a Yamaha AVR as a HomeKit Audio Receiver with Power, Input, Volume & Remote Control", "author": { "name": "ACDR", diff --git a/src/accessory.ts b/src/accessory.ts index fd20f8d..e08686c 100644 --- a/src/accessory.ts +++ b/src/accessory.ts @@ -392,7 +392,7 @@ export class YamahaAVRAccessory { const getNameTextResponse = await fetch(`${this.baseApiUrl}/system/getNameText`); const nameText = (await getNameTextResponse.json()) as NameText; const inputList = nameText.input_list; - this.state.inputs = inputList; + this.state.inputs = inputList.filter((input) => input.id !== 'main_sync' && input.id !== 'none'); } catch { this.platform.log.error(` Failed to get available inputs from ${this.platform.config.name}.