Skip to content

Commit

Permalink
fix set position command
Browse files Browse the repository at this point in the history
  • Loading branch information
mapero committed Nov 6, 2023
1 parent cd20579 commit 243760c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/hcpbridge/cover/hcpbridge_cover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace esphome
}
else
{
this->parent_->engine->setPosition((int)call.get_position().value() * 100.0f);
this->parent_->engine->setPosition(call.get_position().value() * 100.0f);
}
}
}
Expand Down

0 comments on commit 243760c

Please sign in to comment.