You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One of code lines is: #RoomTempControl = round(#RoomTempDelta * -3);
When this line is minified it is changed to: #RTC = round(#RTD * - 3);
with option -c: #RoomTempControl = round(#RoomTempDelta * - 3);
This is leading to an error, if I change the output lines manually to: #RTC = round(#RTD * -3);
or #RoomTempControl = round(#RoomTempDelta * -3);
it is accepted.
update:
I have now done a work around: $multiplier = -3; #RoomTempControl = round(#RoomTempDelta * $multiplier);
The text was updated successfully, but these errors were encountered:
Good to see that this project is still being used :)
And good catch of that bug, It should hopefully be fixed by PR #6. I already made a new release (v0.0.4), so you should be able to just update it using pip to test it.
One of code lines is:
#RoomTempControl = round(#RoomTempDelta * -3);
When this line is minified it is changed to:
#RTC = round(#RTD * - 3);
with option -c:
#RoomTempControl = round(#RoomTempDelta * - 3);
This is leading to an error, if I change the output lines manually to:
#RTC = round(#RTD * -3);
or
#RoomTempControl = round(#RoomTempDelta * -3);
it is accepted.
update:
I have now done a work around:
$multiplier = -3; #RoomTempControl = round(#RoomTempDelta * $multiplier);
The text was updated successfully, but these errors were encountered: