Skip to content

Commit

Permalink
Merge pull request #313 from MTrab:Code-cleanup
Browse files Browse the repository at this point in the history
Code cleanup
  • Loading branch information
MTrab committed Jun 20, 2023
2 parents 0cec2a5 + 62c04ac commit 0846dc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/energidataservice/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

from collections import namedtuple
from datetime import datetime
import json
import json # pylint: disable=unused-import
import logging

from homeassistant.components import sensor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ async def async_get_tariffs(self):
return self.tariffs
except KeyError:
_LOGGER.error(
"Error finding '%s' in the list of charge owners - please reconfigure your integration.",
"Error finding '%s' in the list of charge owners - "
"please reconfigure your integration.",
self._chargeowner,
)

Expand Down

0 comments on commit 0846dc1

Please sign in to comment.