diff --git a/homeassistant/components/alexa/const.py b/homeassistant/components/alexa/const.py index 282df1756d7..83c7da41c16 100644 --- a/homeassistant/components/alexa/const.py +++ b/homeassistant/components/alexa/const.py @@ -47,7 +47,7 @@ CONF_DISPLAY_CATEGORIES = "display_categories" API_TEMP_UNITS = {TEMP_FAHRENHEIT: "FAHRENHEIT", TEMP_CELSIUS: "CELSIUS"} # Needs to be ordered dict for `async_api_set_thermostat_mode` which does a -# reverse mapping of this dict and we want to map the first occurrance of OFF +# reverse mapping of this dict and we want to map the first occurrence of OFF # back to HA state. API_THERMOSTAT_MODES = OrderedDict( [ diff --git a/homeassistant/components/alexa/messages.py b/homeassistant/components/alexa/messages.py index 2b7d15ac841..3195656ed09 100644 --- a/homeassistant/components/alexa/messages.py +++ b/homeassistant/components/alexa/messages.py @@ -163,7 +163,7 @@ class AlexaResponse: The Alexa response includes a list of properties which provides feedback on how states have changed. For example if a user asks, - "Alexa, set theromstat to 20 degrees", the API expects a response with + "Alexa, set thermostat to 20 degrees", the API expects a response with the new value of the property, and Alexa will respond to the user "Thermostat set to 20 degrees". diff --git a/homeassistant/components/amazon_polly/tts.py b/homeassistant/components/amazon_polly/tts.py index f27b0428072..c7098867ee8 100644 --- a/homeassistant/components/amazon_polly/tts.py +++ b/homeassistant/components/amazon_polly/tts.py @@ -45,7 +45,7 @@ SUPPORTED_VOICES = [ "Ruben", "Lotte", # Dutch "Russell", - "Nicole", # English Austrailian + "Nicole", # English Australian "Brian", "Amy", "Emma", # English diff --git a/homeassistant/components/arcam_fmj/media_player.py b/homeassistant/components/arcam_fmj/media_player.py index 5cbfe2dd482..971abc3e26d 100644 --- a/homeassistant/components/arcam_fmj/media_player.py +++ b/homeassistant/components/arcam_fmj/media_player.py @@ -124,7 +124,7 @@ class ArcamFmj(MediaPlayerDevice): return support async def async_added_to_hass(self): - """Once registed add listener for events.""" + """Once registered, add listener for events.""" await self._state.start() @callback diff --git a/homeassistant/components/auth/mfa_setup_flow.py b/homeassistant/components/auth/mfa_setup_flow.py index 89c3e87f78a..c18bc276a44 100644 --- a/homeassistant/components/auth/mfa_setup_flow.py +++ b/homeassistant/components/auth/mfa_setup_flow.py @@ -31,7 +31,7 @@ async def async_setup(hass): """Init mfa setup flow manager.""" async def _async_create_setup_flow(handler, context, data): - """Create a setup flow. hanlder is a mfa module.""" + """Create a setup flow. handler is a mfa module.""" mfa_module = hass.auth.get_auth_mfa_module(handler) if mfa_module is None: raise ValueError("Mfa module {} is not found".format(handler)) diff --git a/homeassistant/components/climate/const.py b/homeassistant/components/climate/const.py index ba13c03babd..4012aa8be1b 100644 --- a/homeassistant/components/climate/const.py +++ b/homeassistant/components/climate/const.py @@ -108,7 +108,7 @@ ATTR_TARGET_TEMP_STEP = "target_temp_step" DEFAULT_MIN_TEMP = 7 DEFAULT_MAX_TEMP = 35 -DEFAULT_MIN_HUMITIDY = 30 +DEFAULT_MIN_HUMIDITY = 30 DEFAULT_MAX_HUMIDITY = 99 DOMAIN = "climate" diff --git a/homeassistant/components/delijn/sensor.py b/homeassistant/components/delijn/sensor.py index e704ef6556f..2cd238d0787 100644 --- a/homeassistant/components/delijn/sensor.py +++ b/homeassistant/components/delijn/sensor.py @@ -50,7 +50,7 @@ async def async_setup_platform(hass, config, async_add_entities, discovery_info= ) await line.get_passages() if line.passages is None: - _LOGGER.warning("No data recieved from De Lijn") + _LOGGER.warning("No data received from De Lijn") return sensors.append(DeLijnPublicTransportSensor(line, name)) @@ -71,7 +71,7 @@ class DeLijnPublicTransportSensor(Entity): """Get the latest data from the De Lijn API.""" await self.line.get_passages() if self.line.passages is None: - _LOGGER.warning("No data recieved from De Lijn") + _LOGGER.warning("No data received from De Lijn") return try: first = self.line.passages[0] diff --git a/homeassistant/components/denon/media_player.py b/homeassistant/components/denon/media_player.py index d9ff52b47d0..7bed8423e8f 100644 --- a/homeassistant/components/denon/media_player.py +++ b/homeassistant/components/denon/media_player.py @@ -51,7 +51,7 @@ NORMAL_INPUTS = { "Dvd": "DVD", "Blue ray": "BD", "TV": "TV", - "Satelite / Cable": "SAT/CBL", + "Satellite / Cable": "SAT/CBL", "Game": "GAME", "Game2": "GAME2", "Video Aux": "V.AUX", diff --git a/homeassistant/components/emulated_hue/__init__.py b/homeassistant/components/emulated_hue/__init__.py index b9e3ecaf093..791085b46f3 100644 --- a/homeassistant/components/emulated_hue/__init__.py +++ b/homeassistant/components/emulated_hue/__init__.py @@ -1,4 +1,4 @@ -"""Support for local control of entities by emulating a Phillips Hue bridge.""" +"""Support for local control of entities by emulating a Philips Hue bridge.""" import logging from aiohttp import web diff --git a/homeassistant/components/fibaro/climate.py b/homeassistant/components/fibaro/climate.py index 4670a3f0c62..ed399fac209 100644 --- a/homeassistant/components/fibaro/climate.py +++ b/homeassistant/components/fibaro/climate.py @@ -50,7 +50,7 @@ HA_FANMODES = {v: k for k, v in FANMODES.items()} # SDS13781-10 Z-Wave Application Command Class Specification 2019-01-04 # Table 130, Thermostat Mode Set version 3::Mode encoding. -# 4 AUXILARY +# 4 AUXILIARY OPMODES_PRESET = { 5: PRESET_RESUME, 7: PRESET_FURNACE, diff --git a/homeassistant/components/google_cloud/tts.py b/homeassistant/components/google_cloud/tts.py index 54c5806101b..cf064b3bfa7 100644 --- a/homeassistant/components/google_cloud/tts.py +++ b/homeassistant/components/google_cloud/tts.py @@ -256,6 +256,6 @@ class GoogleCloudTTSProvider(Provider): except asyncio.TimeoutError as ex: _LOGGER.error("Timeout for Google Cloud TTS call: %s", ex) except Exception as ex: # pylint: disable=broad-except - _LOGGER.exception("Error occured during Google Cloud TTS call: %s", ex) + _LOGGER.exception("Error occurred during Google Cloud TTS call: %s", ex) return None, None diff --git a/homeassistant/components/homekit_controller/config_flow.py b/homeassistant/components/homekit_controller/config_flow.py index 00214282123..e5337295a70 100644 --- a/homeassistant/components/homekit_controller/config_flow.py +++ b/homeassistant/components/homekit_controller/config_flow.py @@ -262,7 +262,7 @@ class HomekitControllerFlowHandler(config_entries.ConfigFlow): # PairVerify M4 - Ed25519 signature verification failed errors["pairing_code"] = "authentication_error" except homekit.UnknownError: - # An error occured on the device whilst performing this + # An error occurred on the device whilst performing this # operation. errors["pairing_code"] = "unknown_error" except homekit.MaxPeersError: diff --git a/homeassistant/components/homematic/climate.py b/homeassistant/components/homematic/climate.py index 008055b649a..1a2f642f91c 100644 --- a/homeassistant/components/homematic/climate.py +++ b/homeassistant/components/homematic/climate.py @@ -69,7 +69,7 @@ class HMThermostat(HMDevice, ClimateDevice): if self.target_temperature <= self._hmdevice.OFF_VALUE + 0.5: return HVAC_MODE_OFF if "MANU_MODE" in self._hmdevice.ACTIONNODE: - if self._hm_controll_mode == self._hmdevice.MANU_MODE: + if self._hm_control_mode == self._hmdevice.MANU_MODE: return HVAC_MODE_HEAT return HVAC_MODE_AUTO @@ -95,7 +95,7 @@ class HMThermostat(HMDevice, ClimateDevice): return "boost" # Get the name of the mode - mode = HM_ATTRIBUTE_SUPPORT[HM_CONTROL_MODE][1][self._hm_controll_mode] + mode = HM_ATTRIBUTE_SUPPORT[HM_CONTROL_MODE][1][self._hm_control_mode] mode = mode.lower() # Filter HVAC states @@ -173,7 +173,7 @@ class HMThermostat(HMDevice, ClimateDevice): return 0.5 @property - def _hm_controll_mode(self): + def _hm_control_mode(self): """Return Control mode.""" if HMIP_CONTROL_MODE in self._data: return self._data[HMIP_CONTROL_MODE] diff --git a/homeassistant/components/homematicip_cloud/sensor.py b/homeassistant/components/homematicip_cloud/sensor.py index b3cbf4627d4..add03c6b644 100644 --- a/homeassistant/components/homematicip_cloud/sensor.py +++ b/homeassistant/components/homematicip_cloud/sensor.py @@ -144,7 +144,7 @@ class HomematicipAccesspointStatus(HomematicipGenericDevice): class HomematicipHeatingThermostat(HomematicipGenericDevice): - """Represenation of a HomematicIP heating thermostat device.""" + """Representation of a HomematicIP heating thermostat device.""" def __init__(self, home: AsyncHome, device) -> None: """Initialize heating thermostat device.""" @@ -173,7 +173,7 @@ class HomematicipHeatingThermostat(HomematicipGenericDevice): class HomematicipHumiditySensor(HomematicipGenericDevice): - """Represenation of a HomematicIP Cloud humidity device.""" + """Representation of a HomematicIP Cloud humidity device.""" def __init__(self, home: AsyncHome, device) -> None: """Initialize the thermometer device.""" @@ -233,7 +233,7 @@ class HomematicipTemperatureSensor(HomematicipGenericDevice): class HomematicipIlluminanceSensor(HomematicipGenericDevice): - """Represenation of a HomematicIP Illuminance device.""" + """Representation of a HomematicIP Illuminance device.""" def __init__(self, home: AsyncHome, device) -> None: """Initialize the device.""" @@ -259,7 +259,7 @@ class HomematicipIlluminanceSensor(HomematicipGenericDevice): class HomematicipPowerSensor(HomematicipGenericDevice): - """Represenation of a HomematicIP power measuring device.""" + """Representation of a HomematicIP power measuring device.""" def __init__(self, home: AsyncHome, device) -> None: """Initialize the device.""" @@ -272,7 +272,7 @@ class HomematicipPowerSensor(HomematicipGenericDevice): @property def state(self) -> float: - """Represenation of the HomematicIP power comsumption value.""" + """Representation of the HomematicIP power comsumption value.""" return self._device.currentPowerConsumption @property @@ -282,7 +282,7 @@ class HomematicipPowerSensor(HomematicipGenericDevice): class HomematicipWindspeedSensor(HomematicipGenericDevice): - """Represenation of a HomematicIP wind speed sensor.""" + """Representation of a HomematicIP wind speed sensor.""" def __init__(self, home: AsyncHome, device) -> None: """Initialize the device.""" @@ -290,7 +290,7 @@ class HomematicipWindspeedSensor(HomematicipGenericDevice): @property def state(self) -> float: - """Represenation of the HomematicIP wind speed value.""" + """Representation of the HomematicIP wind speed value.""" return self._device.windSpeed @property @@ -313,7 +313,7 @@ class HomematicipWindspeedSensor(HomematicipGenericDevice): class HomematicipTodayRainSensor(HomematicipGenericDevice): - """Represenation of a HomematicIP rain counter of a day sensor.""" + """Representation of a HomematicIP rain counter of a day sensor.""" def __init__(self, home: AsyncHome, device) -> None: """Initialize the device.""" @@ -321,7 +321,7 @@ class HomematicipTodayRainSensor(HomematicipGenericDevice): @property def state(self) -> float: - """Represenation of the HomematicIP todays rain value.""" + """Representation of the HomematicIP todays rain value.""" return round(self._device.todayRainCounter, 2) @property diff --git a/homeassistant/components/huawei_lte/manifest.json b/homeassistant/components/huawei_lte/manifest.json index f31ff74c055..85077511768 100644 --- a/homeassistant/components/huawei_lte/manifest.json +++ b/homeassistant/components/huawei_lte/manifest.json @@ -1,6 +1,6 @@ { "domain": "huawei_lte", - "name": "Huawei lte", + "name": "Huawei LTE", "documentation": "https://www.home-assistant.io/components/huawei_lte", "requirements": [ "getmac==0.8.1", diff --git a/homeassistant/components/hue/.translations/cy.json b/homeassistant/components/hue/.translations/cy.json index f5476f73edb..282dd371499 100644 --- a/homeassistant/components/hue/.translations/cy.json +++ b/homeassistant/components/hue/.translations/cy.json @@ -24,6 +24,6 @@ "title": "Hwb cyswllt" } }, - "title": "Pont Phillips Hue" + "title": "Pont Philips Hue" } -} \ No newline at end of file +} diff --git a/homeassistant/components/launch_library/sensor.py b/homeassistant/components/launch_library/sensor.py index 71246872663..14a75704312 100644 --- a/homeassistant/components/launch_library/sensor.py +++ b/homeassistant/components/launch_library/sensor.py @@ -49,7 +49,7 @@ class LaunchLibrarySensor(Entity): """Get the latest data.""" await self.launches.get_launches() if self.launches.launches is None: - _LOGGER.error("No data recieved") + _LOGGER.error("No data received") return try: data = self.launches.launches[0] diff --git a/homeassistant/components/linky/sensor.py b/homeassistant/components/linky/sensor.py index aa5e6516e2e..98aca67d8ea 100644 --- a/homeassistant/components/linky/sensor.py +++ b/homeassistant/components/linky/sensor.py @@ -152,7 +152,7 @@ class LinkySensor(Entity): } def update(self): - """Retreive the new data for the sensor.""" + """Retrieve the new data for the sensor.""" data = self.__account.data[self._scale][self.__when] self.__consumption = data[CONSUMPTION] self.__time = data[TIME] diff --git a/homeassistant/components/meteo_france/__init__.py b/homeassistant/components/meteo_france/__init__.py index ab3ec45867b..89fcc3c98aa 100644 --- a/homeassistant/components/meteo_france/__init__.py +++ b/homeassistant/components/meteo_france/__init__.py @@ -152,7 +152,7 @@ def setup(hass, config): if CONF_MONITORED_CONDITIONS in location: monitored_conditions = location[CONF_MONITORED_CONDITIONS] - _LOGGER.debug("meteo_france sensor platfrom loaded for %s", city) + _LOGGER.debug("meteo_france sensor platform loaded for %s", city) load_platform( hass, "sensor", diff --git a/homeassistant/components/mqtt/__init__.py b/homeassistant/components/mqtt/__init__.py index 0a93c29e8b0..af2fbac9639 100644 --- a/homeassistant/components/mqtt/__init__.py +++ b/homeassistant/components/mqtt/__init__.py @@ -431,7 +431,7 @@ async def async_subscribe( ) wrapped_msg_callback = msg_callback - # If we have 3 paramaters with no default value, wrap the callback + # If we have 3 parameters with no default value, wrap the callback if non_default == 3: _LOGGER.warning( "Signature of MQTT msg_callback '%s.%s' is deprecated", diff --git a/homeassistant/components/mqtt/cover.py b/homeassistant/components/mqtt/cover.py index 032a176932e..66e14ca9a5a 100644 --- a/homeassistant/components/mqtt/cover.py +++ b/homeassistant/components/mqtt/cover.py @@ -102,7 +102,7 @@ TILT_FEATURES = ( def validate_options(value): """Validate options. - If set postion topic is set then get position topic is set as well. + If set position topic is set then get position topic is set as well. """ if CONF_SET_POSITION_TOPIC in value and CONF_GET_POSITION_TOPIC not in value: raise vol.Invalid( diff --git a/homeassistant/components/netgear_lte/notify.py b/homeassistant/components/netgear_lte/notify.py index 0555ab1ffe8..4f13662519d 100644 --- a/homeassistant/components/netgear_lte/notify.py +++ b/homeassistant/components/netgear_lte/notify.py @@ -1,4 +1,4 @@ -"""Suport for Netgear LTE notifications.""" +"""Support for Netgear LTE notifications.""" import logging import attr diff --git a/homeassistant/components/point/alarm_control_panel.py b/homeassistant/components/point/alarm_control_panel.py index b55fb9f681d..7dc7e164788 100644 --- a/homeassistant/components/point/alarm_control_panel.py +++ b/homeassistant/components/point/alarm_control_panel.py @@ -65,7 +65,7 @@ class MinutPointAlarmControl(AlarmControlPanel): _device_id = data.get("event", {}).get("device_id") if _device_id not in self._home["devices"] or _type not in EVENT_MAP: return - _LOGGER.debug("Recieved webhook: %s", _type) + _LOGGER.debug("Received webhook: %s", _type) self._home["alarm_status"] = EVENT_MAP[_type] self._changed_by = _device_id self.async_schedule_update_ha_state() diff --git a/homeassistant/components/point/binary_sensor.py b/homeassistant/components/point/binary_sensor.py index a5704a1fc17..a08f7dbedc4 100644 --- a/homeassistant/components/point/binary_sensor.py +++ b/homeassistant/components/point/binary_sensor.py @@ -106,7 +106,7 @@ class MinutPointBinarySensor(MinutPointEntity, BinarySensorDevice): _device_id = data.get("event", {}).get("device_id") if _type not in self._events or _device_id != self.device.device_id: return - _LOGGER.debug("Recieved webhook: %s", _type) + _LOGGER.debug("Received webhook: %s", _type) if _type == self._events[0]: self._is_on = True if _type == self._events[1]: diff --git a/homeassistant/components/rachio/switch.py b/homeassistant/components/rachio/switch.py index 04ed47f2a2a..b65e6bf6044 100644 --- a/homeassistant/components/rachio/switch.py +++ b/homeassistant/components/rachio/switch.py @@ -117,7 +117,7 @@ class RachioStandbySwitch(RachioSwitch): @property def unique_id(self) -> str: - """Return a unique id by combinining controller id and purpose.""" + """Return a unique id by combining controller id and purpose.""" return "{}-standby".format(self._controller.controller_id) @property @@ -182,7 +182,7 @@ class RachioZone(RachioSwitch): @property def unique_id(self) -> str: - """Return a unique id by combinining controller id and zone number.""" + """Return a unique id by combining controller id and zone number.""" return "{}-zone-{}".format(self._controller.controller_id, self.zone_id) @property diff --git a/homeassistant/components/raspyrfm/switch.py b/homeassistant/components/raspyrfm/switch.py index 1dbe4ab776d..53cb1dbdcb5 100644 --- a/homeassistant/components/raspyrfm/switch.py +++ b/homeassistant/components/raspyrfm/switch.py @@ -1,4 +1,4 @@ -"""Support for switchs that can be controlled using the RaspyRFM rc module.""" +"""Support for switches that can be controlled using the RaspyRFM rc module.""" import logging import voluptuous as vol diff --git a/homeassistant/components/rejseplanen/sensor.py b/homeassistant/components/rejseplanen/sensor.py index 99cfe1067e8..3172e614166 100755 --- a/homeassistant/components/rejseplanen/sensor.py +++ b/homeassistant/components/rejseplanen/sensor.py @@ -192,7 +192,7 @@ class PublicTransportData: _LOGGER.debug("API returned error: %s", error) return except (rjpl.rjplConnectionError, rjpl.rjplHTTPError): - _LOGGER.debug("Error occured while connecting to the API") + _LOGGER.debug("Error occurred while connecting to the API") return # Filter result diff --git a/homeassistant/components/ruter/sensor.py b/homeassistant/components/ruter/sensor.py index 74e84fdec7c..ba4d7368628 100644 --- a/homeassistant/components/ruter/sensor.py +++ b/homeassistant/components/ruter/sensor.py @@ -62,7 +62,7 @@ class RuterSensor(Entity): """Get the latest data from the Ruter API.""" await self.ruter.get_departures() if self.ruter.departures is None: - _LOGGER.error("No data recieved from Ruter.") + _LOGGER.error("No data received from Ruter.") return try: data = self.ruter.departures[self._offset] diff --git a/homeassistant/components/ssdp/__init__.py b/homeassistant/components/ssdp/__init__.py index b5a903f9fae..a8591ac042b 100644 --- a/homeassistant/components/ssdp/__init__.py +++ b/homeassistant/components/ssdp/__init__.py @@ -112,7 +112,7 @@ class Scanner: return (entry, info_from_entry(entry, None), domains) return None - # Multiple entries usally share same location. Make sure + # Multiple entries usually share same location. Make sure # we fetch it only once. info_req = self._description_cache.get(xml_location) diff --git a/homeassistant/components/stream/core.py b/homeassistant/components/stream/core.py index 426eb568f93..81335783e1a 100644 --- a/homeassistant/components/stream/core.py +++ b/homeassistant/components/stream/core.py @@ -114,7 +114,7 @@ class StreamOutput: @callback def put(self, segment: Segment) -> None: """Store output.""" - # Start idle timeout when we start recieving data + # Start idle timeout when we start receiving data if self._unsub is None: self._unsub = async_call_later( self._stream.hass, self.timeout, self._timeout diff --git a/homeassistant/components/stream/worker.py b/homeassistant/components/stream/worker.py index 90b2f518b45..e87221304a3 100644 --- a/homeassistant/components/stream/worker.py +++ b/homeassistant/components/stream/worker.py @@ -63,7 +63,7 @@ def stream_worker(hass, stream, quit_event): sequence = 1 # Holds the generated silence that needs to be muxed into the output audio_packets = {} - # The presentation timestamp of the first video packet we recieve + # The presentation timestamp of the first video packet we receive first_pts = 0 # The decoder timestamp of the latest packet we processed last_dts = None @@ -130,7 +130,7 @@ def stream_worker(hass, stream, quit_event): # If we are attaching to a live stream that does not reset # timestamps for us, we need to do it ourselves by recording # the first presentation timestamp and subtracting it from - # subsequent packets we recieve. + # subsequent packets we receive. if (packet.pts * packet.time_base) > 1: first_pts = packet.pts packet.dts = 0 diff --git a/homeassistant/components/switcher_kis/__init__.py b/homeassistant/components/switcher_kis/__init__.py index 1687f8eee88..9f4347d61d2 100644 --- a/homeassistant/components/switcher_kis/__init__.py +++ b/homeassistant/components/switcher_kis/__init__.py @@ -116,7 +116,7 @@ async def async_setup(hass: HomeAssistantType, config: Dict) -> bool: async def async_switch_platform_discovered( platform: str, discovery_info: Optional[Dict] ) -> None: - """Use for registering services after switch platform is discoverd.""" + """Use for registering services after switch platform is discovered.""" if platform != DOMAIN: return diff --git a/homeassistant/components/system_log/__init__.py b/homeassistant/components/system_log/__init__.py index beae6ce55c0..c9bd486053e 100644 --- a/homeassistant/components/system_log/__init__.py +++ b/homeassistant/components/system_log/__init__.py @@ -116,7 +116,7 @@ class LogEntry: return frozenset([self.message, self.root_cause]) def to_dict(self): - """Convert object into dict to maintain backward compatability.""" + """Convert object into dict to maintain backward compatibility.""" return vars(self) diff --git a/homeassistant/components/tod/binary_sensor.py b/homeassistant/components/tod/binary_sensor.py index 2f8f4acb51f..6c5d8827a86 100644 --- a/homeassistant/components/tod/binary_sensor.py +++ b/homeassistant/components/tod/binary_sensor.py @@ -84,7 +84,7 @@ class TodSensor(BinarySensorDevice): @property def after(self): - """Return the timestamp for the begining of the period.""" + """Return the timestamp for the beginning of the period.""" return self._time_after @property diff --git a/homeassistant/components/vesync/switch.py b/homeassistant/components/vesync/switch.py index fbbf7f4faad..5ca76a77254 100644 --- a/homeassistant/components/vesync/switch.py +++ b/homeassistant/components/vesync/switch.py @@ -46,7 +46,7 @@ def _async_setup_entities(devices, async_add_entities): dev_list.append(VeSyncLightSwitch(dev)) else: _LOGGER.warning( - "%s - Unkown device type - %s", dev.device_name, dev.device_type + "%s - Unknown device type - %s", dev.device_name, dev.device_type ) continue diff --git a/homeassistant/components/wirelesstag/sensor.py b/homeassistant/components/wirelesstag/sensor.py index df8a9c46ac7..fa72ab184e1 100644 --- a/homeassistant/components/wirelesstag/sensor.py +++ b/homeassistant/components/wirelesstag/sensor.py @@ -72,7 +72,7 @@ class WirelessTagSensor(WirelessTagBaseSensor): @property def entity_id(self): - """Overriden version.""" + """Overridden version.""" return self._entity_id @property diff --git a/homeassistant/components/zhong_hong/climate.py b/homeassistant/components/zhong_hong/climate.py index bfc730a285e..8514ec711cb 100644 --- a/homeassistant/components/zhong_hong/climate.py +++ b/homeassistant/components/zhong_hong/climate.py @@ -82,7 +82,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None): async_dispatcher_connect(hass, SIGNAL_DEVICE_ADDED, startup) - # add devices after SIGNAL_DEVICE_SETTED_UP event is listend + # add devices after SIGNAL_DEVICE_SETTED_UP event is listened add_entities(devices) def stop_listen(event): diff --git a/homeassistant/helpers/config_validation.py b/homeassistant/helpers/config_validation.py index ece6b0753a2..b52a17b2e39 100644 --- a/homeassistant/helpers/config_validation.py +++ b/homeassistant/helpers/config_validation.py @@ -261,7 +261,7 @@ def icon(value): if ":" in value: return value - raise vol.Invalid('Icons should be specifed on the form "prefix:name"') + raise vol.Invalid('Icons should be specified in the form "prefix:name"') time_period_dict = vol.All(