Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not round correctly #1475

Open
RubenKelevra opened this issue Nov 15, 2024 · 1 comment
Open

Does not round correctly #1475

RubenKelevra opened this issue Nov 15, 2024 · 1 comment
Assignees
Labels
new bug incoming bug issue

Comments

@RubenKelevra
Copy link
Contributor

Description

I've noticed that Better Thermostat is not rounding correctly:

Screenshot_20241115_200213
Screenshot_20241115_200232

0.6 °C difference is rounded the wrong way and is increased to 1.0 °C for no apparent reason.

Steps to Reproduce

unknown

Expected behavior:

Should round correctly.

Actual behavior:

Does not round correctly.

Versions
HA: 2024.11.1
BT: 1.6.1 with PR #1472 and #1473 applied - otherwise unusable.

Additional Information

@RubenKelevra RubenKelevra added the new bug incoming bug issue label Nov 15, 2024
@folfy
Copy link

folfy commented Nov 16, 2024

This is working as designed - If you enable calibration with better thermostat, it is going to offset the target temperature by the difference between the TRV measured temperature and the actual temperature.

So 22°-20.6° = 1.4° + 20° target = 21° (BT always rounds down to half degrees, which ofc is debateable, but that's how it works)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new bug incoming bug issue
Projects
None yet
Development

No branches or pull requests

3 participants