Merge PR #499: Fix for ThingState which reports minValue instead of maxValue
This commit is contained in:
commit
8153e551c1
@ -206,7 +206,7 @@ QVariant ScriptState::maximumValue() const
|
||||
if (stateType.id().isNull()) {
|
||||
stateType = thing->thingClass().stateTypes().findByName(m_stateName);
|
||||
}
|
||||
return stateType.minValue();
|
||||
return stateType.maxValue();
|
||||
}
|
||||
|
||||
void ScriptState::store()
|
||||
|
||||
Reference in New Issue
Block a user