Skip to content

Fix temperature interval Thermostat HomeKit#18192

Merged
balloob merged 1 commit intohome-assistant:devfrom
cdce8p:homekit-fix-temp-interval
Nov 4, 2018
Merged

Fix temperature interval Thermostat HomeKit#18192
balloob merged 1 commit intohome-assistant:devfrom
cdce8p:homekit-fix-temp-interval

Conversation

@cdce8p
Copy link
Copy Markdown
Member

@cdce8p cdce8p commented Nov 4, 2018

Description:

Although HomeKit and Home Assistant both round to the nearest .0 or .5 value for climate temperatures, under some circumstances it could happen to be other values .1, ...
This PR will make sure that the temperature values are updated correctly.

Related issue (if applicable): fixes #18187

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

Reported by: @kamkilt

* Will round to nearest .0 or .5
@balloob balloob merged commit 959fa81 into home-assistant:dev Nov 4, 2018
@ghost ghost removed the in progress label Nov 4, 2018
@cdce8p cdce8p deleted the homekit-fix-temp-interval branch November 4, 2018 21:23
@balloob balloob mentioned this pull request Nov 29, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

HomeKit type_thermostats.py set temperature issue

3 participants