From 31ffad99da46a7a86423567f96ca5022453e2157 Mon Sep 17 00:00:00 2001 From: Manuel Pietschmann Date: Wed, 9 Jan 2019 15:34:01 +0100 Subject: [PATCH] Fix Hue Essentials supports full api mode https://github.com/dresden-elektronik/deconz-rest-plugin/pull/1046 --- authorisation.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/authorisation.cpp b/authorisation.cpp index e40c8daf40..b8a83b93b0 100644 --- a/authorisation.cpp +++ b/authorisation.cpp @@ -190,6 +190,10 @@ void DeRestPluginPrivate::authorise(ApiRequest &req, ApiResponse &rsp) { req.mode = ApiModeEcho; } + else if (i->devicetype.startsWith(QLatin1String("Hue Essentials"))) + { + // supports deCONZ specifics + } else if (i->devicetype.startsWith(QLatin1String("hue_")) || i->devicetype.startsWith(QLatin1String("Hue "))) {