mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
address initial houndbot suggestions
This commit is contained in:
parent
9b373901fa
commit
2c44e4fb12
@ -29,6 +29,7 @@ CONFIG_SCHEMA = vol.Schema({
|
|||||||
}),
|
}),
|
||||||
}, extra=vol.ALLOW_EXTRA)
|
}, extra=vol.ALLOW_EXTRA)
|
||||||
|
|
||||||
|
|
||||||
def setup(hass, config):
|
def setup(hass, config):
|
||||||
"""Set up the NuHeat thermostat component."""
|
"""Set up the NuHeat thermostat component."""
|
||||||
import nuheat
|
import nuheat
|
||||||
|
@ -103,7 +103,6 @@ class TestNuHeat(unittest.TestCase):
|
|||||||
self.thermostat._temperature_unit = "C"
|
self.thermostat._temperature_unit = "C"
|
||||||
self.assertEqual(self.thermostat.target_temperature, 22)
|
self.assertEqual(self.thermostat.target_temperature, 22)
|
||||||
|
|
||||||
|
|
||||||
def test_target_temperature_low(self):
|
def test_target_temperature_low(self):
|
||||||
"""Test low target temperature."""
|
"""Test low target temperature."""
|
||||||
self.assertEqual(self.thermostat.target_temperature_low, 72)
|
self.assertEqual(self.thermostat.target_temperature_low, 72)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user