Skip to content

Commit

Permalink
Fix Hue Essentials supports full api mode
Browse files Browse the repository at this point in the history
  • Loading branch information
manup committed Jan 9, 2019
1 parent e82a6cb commit 31ffad9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions authorisation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ")))
{
Expand Down

0 comments on commit 31ffad9

Please sign in to comment.