1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Spelling fixes (#11940)

This commit is contained in:
Ville Skyttä
2018-01-27 21:58:27 +02:00
committed by Paulus Schoutsen
parent 94316f07a2
commit 55ee8959ba
80 changed files with 110 additions and 110 deletions

View File

@@ -79,7 +79,7 @@ class SmartHomeError(Exception):
"""Log error code."""
super(SmartHomeError, self).__init__(msg)
_LOGGER.error(
"An error has ocurred in Google SmartHome: %s."
"An error has occurred in Google SmartHome: %s."
"Error code: %s", msg, code
)
self.code = code
@@ -96,7 +96,7 @@ class Config:
def entity_to_device(entity: Entity, config: Config, units: UnitSystem):
"""Convert a hass entity into an google actions device."""
"""Convert a hass entity into a google actions device."""
entity_config = config.entity_config.get(entity.entity_id, {})
google_domain = entity_config.get(CONF_TYPE)
class_data = MAPPING_COMPONENT.get(