mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Have pylint warn when user visible log messages do not start with capital letter or end with a period (#48064)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
@@ -310,7 +310,7 @@ async def get_device(hass, host, port, username, password):
|
||||
return device
|
||||
|
||||
except axis.Unauthorized as err:
|
||||
LOGGER.warning("Connected to device at %s but not registered.", host)
|
||||
LOGGER.warning("Connected to device at %s but not registered", host)
|
||||
raise AuthenticationRequired from err
|
||||
|
||||
except (asyncio.TimeoutError, axis.RequestError) as err:
|
||||
|
||||
Reference in New Issue
Block a user