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:
parent
a5dc7c5f28
commit
0b5c0f8249
7 changed files with 99 additions and 75 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue