Minor fixes to A. O. Smith integration (#107421)
This commit is contained in:
parent
60fbb8b698
commit
a3352ce457
5 changed files with 131 additions and 34 deletions
|
@ -50,7 +50,14 @@ async def test_config_entry_not_ready_get_energy_use_data_error(
|
|||
"""Test the config entry not ready when get_energy_use_data fails."""
|
||||
mock_config_entry.add_to_hass(hass)
|
||||
|
||||
get_devices_fixture = [build_device_fixture(False, False, True)]
|
||||
get_devices_fixture = [
|
||||
build_device_fixture(
|
||||
heat_pump=True,
|
||||
mode_pending=False,
|
||||
setpoint_pending=False,
|
||||
has_vacation_mode=True,
|
||||
)
|
||||
]
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.aosmith.config_flow.AOSmithAPIClient.get_devices",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue