Fix scene group support for Hub v1. (#11857)

Fixes #11856

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2021-12-26 16:38:20 +01:00 committed by Jacob Laursen
parent bf03a178f7
commit 1ce10b1cc1

View File

@ -109,8 +109,11 @@ public class HDPowerViewWebTargets {
shades = base + "shades/";
sceneActivate = base + "scenes";
scenes = base + "scenes/";
sceneCollectionActivate = base + "sceneCollections";
sceneCollections = base + "sceneCollections/";
// Hub v1 only supports "scenecollections". Hub v2 will redirect to "sceneCollections".
sceneCollectionActivate = base + "scenecollections";
sceneCollections = base + "scenecollections/";
scheduledEvents = base + "scheduledevents";
this.httpClient = httpClient;
}