Spelling fixes (#12041)

* Spelling fixes

*Lots* of them.

* Spelling breaking changes

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

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: {