From 19ac88c18f4203ea0680143bf3cd8bb47ab378db Mon Sep 17 00:00:00 2001 From: ebaauw Date: Sun, 18 Jul 2021 16:42:10 +0200 Subject: [PATCH] Remove `forceS2` key. See #153. --- config.schema.json | 5 ----- lib/ZpPlatform.js | 1 - 2 files changed, 6 deletions(-) diff --git a/config.schema.json b/config.schema.json index d66c22a..16bf21c 100644 --- a/config.schema.json +++ b/config.schema.json @@ -26,11 +26,6 @@ "description": "Exclude AirPlay 2 zone players that are already exposed to Apple's Home app.", "type": "boolean" }, - "forceS2": { - "title": "Expose only S2 players", - "description": "Set in a Split Sonos System to prevent accidentally exposing the S1 players.", - "type": "boolean" - }, "heartrate": { "description": "Interval (in seconds) to poll zone player. Default: disabled.", "type": "integer" diff --git a/lib/ZpPlatform.js b/lib/ZpPlatform.js index 58dcb6f..c7c1d57 100644 --- a/lib/ZpPlatform.js +++ b/lib/ZpPlatform.js @@ -84,7 +84,6 @@ class ZpPlatform extends homebridgeLib.Platform { .boolKey('alarms') .boolKey('brightness') .boolKey('excludeAirPlay') - .boolKey('forceS2') .intKey('heartrate', 1, 60) .boolKey('leds') .stringKey('nameScheme')