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:
parent
3742f175ad
commit
c820dd4cb5
107 changed files with 243 additions and 157 deletions
|
@ -65,10 +65,10 @@ async def _async_connect(**kwargs):
|
|||
"""Connect to the Insteon modem."""
|
||||
try:
|
||||
await async_connect(**kwargs)
|
||||
_LOGGER.info("Connected to Insteon modem.")
|
||||
_LOGGER.info("Connected to Insteon modem")
|
||||
return True
|
||||
except ConnectionError:
|
||||
_LOGGER.error("Could not connect to Insteon modem.")
|
||||
_LOGGER.error("Could not connect to Insteon modem")
|
||||
return False
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue