Fix various typos in comments (#19)

This commit is contained in:
Chris Soyars 2019-12-28 13:07:05 -08:00 committed by Joakim Sørensen
parent 0a3a92db07
commit 48eb57ef70
4 changed files with 4 additions and 4 deletions

View File

@ -79,7 +79,7 @@ CONFIG_SCHEMA = vol.Schema(
async def async_setup(hass, config): async def async_setup(hass, config):
"""Set up this component using YAML.""" """Set up this component using YAML."""
if config.get(DOMAIN) is None: if config.get(DOMAIN) is None:
# We get her if the integration is set up using config flow # We get here if the integration is set up using config flow
return True return True
# Print startup message # Print startup message

View File

@ -54,7 +54,7 @@ class BlueprintBinarySensor(BinarySensorDevice):
"""Return a unique ID to use for this binary_sensor.""" """Return a unique ID to use for this binary_sensor."""
return ( return (
"0919a0cd-745c-48fd" "0919a0cd-745c-48fd"
) # Don't had code this, use something from the device/service. ) # Don't hard code this, use something from the device/service.
@property @property
def device_info(self): def device_info(self):

View File

@ -48,7 +48,7 @@ class BlueprintSensor(Entity):
"""Return a unique ID to use for this sensor.""" """Return a unique ID to use for this sensor."""
return ( return (
"0717a0cd-745c-48fd" "0717a0cd-745c-48fd"
) # Don't had code this, use something from the device/service. ) # Don't hard code this, use something from the device/service.
@property @property
def device_info(self): def device_info(self):

View File

@ -53,7 +53,7 @@ class BlueprintBinarySwitch(SwitchDevice):
"""Return a unique ID to use for this switch.""" """Return a unique ID to use for this switch."""
return ( return (
"0818a0cd-745c-48fd" "0818a0cd-745c-48fd"
) # Don't had code this, use something from the device/service. ) # Don't hard code this, use something from the device/service.
@property @property
def device_info(self): def device_info(self):