Enable Ruff RSE (#113695)
This commit is contained in:
parent
685553d17d
commit
82a60fe8ad
155 changed files with 325 additions and 324 deletions
|
@ -112,7 +112,7 @@ async def websocket_supervisor_api(
|
|||
if not connection.user.is_admin and not WS_NO_ADMIN_ENDPOINTS.match(
|
||||
msg[ATTR_ENDPOINT]
|
||||
):
|
||||
raise Unauthorized()
|
||||
raise Unauthorized
|
||||
supervisor: HassIO = hass.data[DOMAIN]
|
||||
|
||||
command = msg[ATTR_ENDPOINT]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue