Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/buienradar/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ async def async_update(self, *_):
self.load_error_count += 1
threshold_log(
self.load_error_count,
"Unable to retrieve json data from Buienradar" "(Msg: %s, status: %s,)",
"Unable to retrieve json data from Buienradar (Msg: %s, status: %s)",
content.get(MESSAGE),
content.get(STATUS_CODE),
)
Expand All @@ -135,7 +135,7 @@ async def async_update(self, *_):
# unable to get the data
threshold_log(
self.rain_error_count,
"Unable to retrieve rain data from Buienradar" "(Msg: %s, status: %s)",
"Unable to retrieve rain data from Buienradar (Msg: %s, status: %s)",
raincontent.get(MESSAGE),
raincontent.get(STATUS_CODE),
)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/doorbird/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ def _register_event(
self.device.change_favorite("http", f"Home Assistant ({event})", url)
if not self.webhook_is_registered(url):
_LOGGER.warning(
'Unable to set favorite URL "%s". ' 'Event "%s" will not fire',
'Unable to set favorite URL "%s". Event "%s" will not fire',
url,
event,
)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/owntracks/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def encrypt_message(secret, topic, message):

if key is None:
_LOGGER.warning(
"Unable to encrypt payload because no decryption key known " "for topic %s",
"Unable to encrypt payload because no decryption key known for topic %s",
topic,
)
return None
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/smtp/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def _attach_file(atch_name, content_id):
attachment = MIMEImage(file_bytes)
except TypeError:
_LOGGER.warning(
"Attachment %s has an unknown MIME type. " "Falling back to file",
"Attachment %s has an unknown MIME type. Falling back to file",
atch_name,
)
attachment = MIMEApplication(file_bytes, Name=atch_name)
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/template/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def _update_position(self, result):
if state < 0 or state > 100:
self._position = None
_LOGGER.error(
"Cover position value must be" " between 0 and 100." " Value was: %.2f",
"Cover position value must be between 0 and 100. Value was: %.2f",
state,
)
else:
Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/vasttrafik/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def update(self):

if not self._departureboard:
_LOGGER.debug(
"No departures from departure station %s " "to destination station %s",
"No departures from departure station %s to destination station %s",
self._departure["station_name"],
self._heading["station_name"] if self._heading else "ANY",
)
Expand Down
1 change: 0 additions & 1 deletion homeassistant/components/zwave_js/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -540,7 +540,6 @@ async def async_multicast_set_value(self, service: ServiceCall) -> None:

async def async_ping(self, service: ServiceCall) -> None:
"""Ping node(s)."""
# pylint: disable=no-self-use
_LOGGER.warning(
"This service is deprecated in favor of the ping button entity. Service "
"calls will still work for now but the service will be removed in a "
Expand Down
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ freezegun==1.2.1
mock-open==1.4.0
mypy==0.950
pre-commit==2.17.0
pylint==2.13.7
pylint==2.13.8
pipdeptree==2.2.1
pylint-strict-informational==0.1
pytest-aiohttp==0.3.0
Expand Down