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

+1 -1
View File
@@ -238,7 +238,7 @@ class BME680Handler:
self._gas_sensor_running = True
# Pause to allow inital data read for device validation.
# Pause to allow initial data read for device validation.
sleep(1)
start_time = time()
+2 -2
View File
@@ -93,8 +93,8 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
device.telegram = telegram
hass.async_add_job(device.async_update_ha_state())
# Creates a asyncio.Protocol factory for reading DSMR telegrams from serial
# and calls update_entities_telegram to update entities on arrival
# Creates an asyncio.Protocol factory for reading DSMR telegrams from
# serial and calls update_entities_telegram to update entities on arrival
if config[CONF_HOST]:
reader_factory = partial(
create_tcp_dsmr_reader, config[CONF_HOST], config[CONF_PORT],
@@ -122,7 +122,7 @@ class EddystoneTemp(Entity):
class Monitor(object):
"""Continously scan for BLE advertisements."""
"""Continuously scan for BLE advertisements."""
def __init__(self, hass, devices, bt_device_id):
"""Construct interface object."""
@@ -150,7 +150,7 @@ class Monitor(object):
self.scanning = False
def start(self):
"""Continously scan for BLE advertisements."""
"""Continuously scan for BLE advertisements."""
if not self.scanning:
self.scanner.start()
self.scanning = True
@@ -65,7 +65,7 @@ def async_setup_platform(hass, config, async_add_devices, discovery_info=None):
class EightHeatSensor(EightSleepHeatEntity):
"""Representation of a eight sleep heat-based sensor."""
"""Representation of an eight sleep heat-based sensor."""
def __init__(self, name, eight, sensor):
"""Initialize the sensor."""
@@ -116,7 +116,7 @@ class EightHeatSensor(EightSleepHeatEntity):
class EightUserSensor(EightSleepUserEntity):
"""Representation of a eight sleep user-based sensor."""
"""Representation of an eight sleep user-based sensor."""
def __init__(self, name, eight, sensor, units):
"""Initialize the sensor."""
@@ -232,7 +232,7 @@ class EightUserSensor(EightSleepUserEntity):
class EightRoomSensor(EightSleepUserEntity):
"""Representation of a eight sleep room sensor."""
"""Representation of an eight sleep room sensor."""
def __init__(self, name, eight, sensor, units):
"""Initialize the sensor."""
+1 -1
View File
@@ -1,5 +1,5 @@
"""
Parse prices of a item from gearbest.
Parse prices of an item from gearbest.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.gearbest/
+1 -1
View File
@@ -48,5 +48,5 @@ class HiveSensorEntity(Entity):
return self.session.sensor.hub_online_status(self.node_id)
def update(self):
"""Update all Node data frome Hive."""
"""Update all Node data from Hive."""
self.session.core.update_data(self.node_id)
+1 -1
View File
@@ -36,7 +36,7 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
RainCloudSensor(raincloud.controller.faucet,
sensor_type))
else:
# create an sensor for each zone managed by a faucet
# create a sensor for each zone managed by a faucet
for zone in raincloud.controller.faucet.zones:
sensors.append(RainCloudSensor(zone, sensor_type))
+1 -1
View File
@@ -147,7 +147,7 @@ class TadoSensor(Entity):
data = self._store.get_data(self._data_id)
if data is None:
_LOGGER.debug("Recieved no data for zone %s", self.zone_name)
_LOGGER.debug("Received no data for zone %s", self.zone_name)
return
unit = TEMP_CELSIUS
@@ -19,7 +19,7 @@ from homeassistant.util import slugify
class WFSensorConfig(object):
"""Water Furnace Sensor configuration."""
def __init__(self, friendly_name, field, icon="mdi:guage",
def __init__(self, friendly_name, field, icon="mdi:gauge",
unit_of_measurement=None):
"""Initialize configuration."""
self.friendly_name = friendly_name