Skip to content

Commit

Permalink
Update light_node.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Smanar authored and manup committed Oct 21, 2019
1 parent 9991bb1 commit b3f2425
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions light_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,13 @@ void LightNode::setHaEndpoint(const deCONZ::SimpleDescriptor &endpoint)

if (haEndpoint().profileId() == HA_PROFILE_ID)
{

if (modelId() == QLatin1String("Shutter switch with neutral"))
{
// correct wrong device id for legrand, the window suhtter command is see as plug
deviceId = DEV_ID_HA_WINDOW_COVERING_DEVICE;
}

switch (deviceId)
{
//case DEV_ID_ZLL_DIMMABLE_LIGHT: break; // clash with on/off light
Expand Down

0 comments on commit b3f2425

Please sign in to comment.