From 17b1faf7df41067dd07ecbc42c0241f77f40293f Mon Sep 17 00:00:00 2001 From: ludeeus Date: Fri, 22 Mar 2019 08:54:43 +0100 Subject: [PATCH] Correct typo --- custom_components/blueprint/__init__.py | 8 ++++---- custom_components/blueprint/const.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/custom_components/blueprint/__init__.py b/custom_components/blueprint/__init__.py index a15830d..6eab07c 100644 --- a/custom_components/blueprint/__init__.py +++ b/custom_components/blueprint/__init__.py @@ -26,7 +26,7 @@ CONF_SWITCH, CONF_ENABLED, CONF_NAME, - DEAFULT_NAME, + DEFAULT_NAME, ) MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=30) @@ -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, } ) diff --git a/custom_components/blueprint/const.py b/custom_components/blueprint/const.py index ce38104..90c07d8 100644 --- a/custom_components/blueprint/const.py +++ b/custom_components/blueprint/const.py @@ -34,4 +34,4 @@ CONF_NAME = "name" # Defaults -DEAFULT_NAME = DOMAIN +DEFAULT_NAME = DOMAIN