Commit b5237149 authored by luz's avatar luz

blinds logic is apparently reversed, 100%=up, 0%=down

parent 16e564bd
......@@ -159,7 +159,7 @@ void EnoceanSimpleBlindHandler::issueDirectChannelActions()
// get the right channel
ChannelBehaviourPtr ch = ob->getChannelByIndex(dsChannelIndex);
// get value
bool blindUp = ch->getChannelValue()<0.5;
bool blindUp = ch->getChannelValue()>0.5;
// simulate long press of my button
Esp3PacketPtr packet = Esp3PacketPtr(new Esp3Packet());
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment