Spelling fixes (#12041)

* Spelling fixes

*Lots* of them.

* Spelling breaking changes

* Fix lint errors
This commit is contained in:
Otto Winter authored and Fabian Affolter committed 2018-01-29 23:37:19 +01:00
1 parent 38fd9b65bf
commit 8dcfd35b8b
138 files changed
+285 -286

No files matched your search

+2 -2
View File
@@ -110,7 +110,7 @@ class TestSensorMQTT(unittest.TestCase):
self.assertEqual('unknown', state.state)
def test_setting_sensor_value_via_mqtt_json_message(self):
"""Test the setting of the value via MQTT with JSON playload."""
"""Test the setting of the value via MQTT with JSON payload."""
mock_component(self.hass, 'mqtt')
assert setup_component(self.hass, sensor.DOMAIN, {
sensor.DOMAIN: {
@@ -244,7 +244,7 @@ class TestSensorMQTT(unittest.TestCase):
self.hass.bus.fire(ha.EVENT_TIME_CHANGED, {ha.ATTR_NOW: now})
def test_setting_sensor_attribute_via_mqtt_json_message(self):
"""Test the setting of attribute via MQTT with JSON playload."""
"""Test the setting of attribute via MQTT with JSON payload."""
mock_component(self.hass, 'mqtt')
assert setup_component(self.hass, sensor.DOMAIN, {
sensor.DOMAIN: {