Fix typos found by codespell (#31243)

* Fix typos found by codespell

* Fix typos found by codespell

* codespell: Furture  ==> Future

* Update test_config_flow.py

* Update __init__.py

* Spellcheck: successfull  ==> successful

* Codespell: unsuccesful  ==> unsuccessful

* Codespell: cant  ==> can't

* Codespell: firware ==> firmware

* Codespell: mimick  ==> mimic
This commit is contained in:
Christian Clauss authored and GitHub committed 2020-01-31 08:33:00 -08:00
1 parent a017c26234
commit df7d2b3aeb
121 files changed
+170 -156

No files matched your search

+2 -2
View File
@@ -199,7 +199,7 @@ class Smappee:
try:
return self._smappy.get_consumption(location_id, start, end, aggregation)
except RequestException as error:
_LOGGER.error("Error getting comsumption from Smappee cloud. (%s)", error)
_LOGGER.error("Error getting consumption from Smappee cloud. (%s)", error)
def get_sensor_consumption(self, location_id, sensor_id, aggregation, delta):
"""Update data from Smappee."""
@@ -221,7 +221,7 @@ class Smappee:
location_id, sensor_id, start, end, aggregation
)
except RequestException as error:
_LOGGER.error("Error getting comsumption from Smappee cloud. (%s)", error)
_LOGGER.error("Error getting consumption from Smappee cloud. (%s)", error)
def actuator_on(self, location_id, actuator_id, is_remote_switch, duration=None):
"""Turn on actuator."""