Enable Ruff TRY201 (#114269)
* Enable Ruff TRY201 * remove redundant rules
This commit is contained in:
parent
071c3abb69
commit
f7b7f74d10
36 changed files with 71 additions and 66 deletions
|
@ -70,7 +70,7 @@ async def async_send_text_commands(
|
|||
except aiohttp.ClientResponseError as err:
|
||||
if 400 <= err.status < 500:
|
||||
entry.async_start_reauth(hass)
|
||||
raise err
|
||||
raise
|
||||
|
||||
credentials = Credentials(session.token[CONF_ACCESS_TOKEN])
|
||||
language_code = entry.options.get(CONF_LANGUAGE_CODE, default_language_code(hass))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue