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

@ -56,7 +56,7 @@ class TestComponentsDeviceTrackerMQTT(unittest.TestCase):
def test_new_message(self):
"""Test new message."""
dev_id = 'paulus'
enttiy_id = device_tracker.ENTITY_ID_FORMAT.format(dev_id)
entity_id = device_tracker.ENTITY_ID_FORMAT.format(dev_id)
topic = '/location/paulus'
location = 'work'
@ -69,4 +69,4 @@ class TestComponentsDeviceTrackerMQTT(unittest.TestCase):
})
fire_mqtt_message(self.hass, topic, location)
self.hass.block_till_done()
self.assertEqual(location, self.hass.states.get(enttiy_id).state)
self.assertEqual(location, self.hass.states.get(entity_id).state)