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

Fix fritzbox climate HVAC mode / temperature #25275

Merged
merged 4 commits into from Jul 19, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Update tests

  • Loading branch information...
cgtobi committed Jul 18, 2019
commit f5db2d30e614c10342449a2e06a40f47423c182b
@@ -66,10 +66,10 @@ def test_target_temperature(self):
assert 19.5 == self.thermostat.target_temperature

self.thermostat._target_temperature = 126.5
assert self.thermostat.target_temperature is None
assert self.thermostat.target_temperature == 0.0

self.thermostat._target_temperature = 127.0
assert self.thermostat.target_temperature is None
assert self.thermostat.target_temperature == 30.0

@patch.object(FritzboxThermostat, 'set_hvac_mode')
def test_set_temperature_operation_mode(self, mock_set_op):
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.