diff --git a/driver/libtelldus-core/DeviceEverflourish.cpp b/driver/libtelldus-core/DeviceEverflourish.cpp index 44f20fd5..3bd7c87c 100644 --- a/driver/libtelldus-core/DeviceEverflourish.cpp +++ b/driver/libtelldus-core/DeviceEverflourish.cpp @@ -46,7 +46,7 @@ bool DeviceEverflourish::setUnit(const std::string &newUnit) { if (intCode < 0) { intCode = 0; } else if (intCode > 3) { - intHouse = 3; + intCode = 3; } return true; }