mirror of
https://github.com/home-assistant/core.git
synced 2025-11-08 02:19:31 +00:00
Bump nam backend library (#72771)
* Update config flow * Fix discovery with auth * Call check_credentials() on init * Update tests * Bump library version * Cleaning * Return dataclass instead of tuple * Fix pylint error
This commit is contained in:
@@ -51,7 +51,7 @@ async def test_config_auth_failed(hass):
|
||||
)
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.nam.NettigoAirMonitor.initialize",
|
||||
"homeassistant.components.nam.NettigoAirMonitor.async_check_credentials",
|
||||
side_effect=AuthFailed("Authorization has failed"),
|
||||
):
|
||||
entry.add_to_hass(hass)
|
||||
|
||||
Reference in New Issue
Block a user