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:
@@ -59,12 +59,12 @@ def setup(hass, config):
|
||||
|
||||
def poll_device_update(event_time):
|
||||
"""Update Smarty device."""
|
||||
_LOGGER.debug("Updating Smarty device...")
|
||||
_LOGGER.debug("Updating Smarty device")
|
||||
if smarty.update():
|
||||
_LOGGER.debug("Update success...")
|
||||
_LOGGER.debug("Update success")
|
||||
dispatcher_send(hass, SIGNAL_UPDATE_SMARTY)
|
||||
else:
|
||||
_LOGGER.debug("Update failed...")
|
||||
_LOGGER.debug("Update failed")
|
||||
|
||||
track_time_interval(hass, poll_device_update, timedelta(seconds=30))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user