Skip to content

Commit

Permalink
Correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Mar 22, 2019
1 parent 0f8e201 commit 17b1faf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions custom_components/blueprint/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
CONF_SWITCH,
CONF_ENABLED,
CONF_NAME,
DEAFULT_NAME,
DEFAULT_NAME,
)

MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30)
Expand All @@ -36,21 +36,21 @@
BINARY_SENSOR_SCHEMA = vol.Schema(
{
vol.Optional(CONF_ENABLED, default=True): cv.boolean,
vol.Optional(CONF_NAME, default=DEAFULT_NAME): cv.string,
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
}
)

SENSOR_SCHEMA = vol.Schema(
{
vol.Optional(CONF_ENABLED, default=True): cv.boolean,
vol.Optional(CONF_NAME, default=DEAFULT_NAME): cv.string,
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
}
)

SWITCH_SCHEMA = vol.Schema(
{
vol.Optional(CONF_ENABLED, default=True): cv.boolean,
vol.Optional(CONF_NAME, default=DEAFULT_NAME): cv.string,
vol.Optional(CONF_NAME, default=DEFAULT_NAME): cv.string,
}
)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/blueprint/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
CONF_NAME = "name"

# Defaults
DEAFULT_NAME = DOMAIN
DEFAULT_NAME = DOMAIN

0 comments on commit 17b1faf

Please sign in to comment.