-
-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Description
As shown in my previous bug reports, meanwhile deleted(???), the Blinds direction is not set properly.
In file directions.js one can find following:
SetRangeValue: (request, currentState) => {
if (currentState.template === 'FAN') {
return {
speed: request.directive.payload.rangeValue,
powerState: request.directive.payload.rangeValue > 0 ? 'ON' : 'OFF',
}
} else if (currentState.template === 'BLINDS') {
return {
percentage: request.directive.payload.rangeValue,
mode:
request.directive.payload.rangeValue == 100
? 'Position.Up'
: 'Position.Down',
}
} else {
return {}
}
},
Relevant is following:
request.directive.payload.rangeValue == 100 ? 'Position.Up' : 'Position.Down',
means 'Position.Up' willl be set if Blinds are completely closed only. In case 'Alexa mache Rollos 10% auf' will be 'Position.Down' set and Blinds 10% closed. In my opinion is it not correct.
By the way, I'v saved this Bug Report locally, for this case Your 'solution' is deleting it.
Virtual-Smart-Home Version
4.4.5
Node-RED Version
5.2.1
Node.js Version
20.18.0
Plan
FREE
Thing-ID

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working