Spelling fixes (#11940)

This commit is contained in:
Ville Skyttä authored and Paulus Schoutsen committed 2018-01-27 11:58:27 -08:00
1 parent 94316f07a2
commit 55ee8959ba
80 files changed
+110 -110

No files matched your search

+2 -2
View File
@@ -91,13 +91,13 @@ def async_snapshot(hass, filename, entity_id=None):
@bind_hass
@asyncio.coroutine
def async_get_image(hass, entity_id, timeout=10):
"""Fetch a image from a camera entity."""
"""Fetch an image from a camera entity."""
websession = async_get_clientsession(hass)
state = hass.states.get(entity_id)
if state is None:
raise HomeAssistantError(
"No entity '{0}' for grab a image".format(entity_id))
"No entity '{0}' for grab an image".format(entity_id))
url = "{0}{1}".format(
hass.config.api.base_url,