Fix various typos in comments (#19)
This commit is contained in:
parent
0a3a92db07
commit
48eb57ef70
@ -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
|
||||||
|
@ -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):
|
||||||
|
@ -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):
|
||||||
|
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user