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

+1 -1
View File
@@ -113,7 +113,7 @@ class MfiSwitch(SwitchDevice):
@property
def device_state_attributes(self):
"""Return the state attributes fof the device."""
"""Return the state attributes for the device."""
attr = {}
attr["volts"] = round(self._port.data.get("v_rms", 0), 1)
attr["amps"] = round(self._port.data.get("i_rms", 0), 1)