diff --git a/custom_components/circadian_lighting/__init__.py b/custom_components/circadian_lighting/__init__.py index c31e138b..f347d428 100644 --- a/custom_components/circadian_lighting/__init__.py +++ b/custom_components/circadian_lighting/__init__.py @@ -49,7 +49,7 @@ from homeassistant.util.dt import utcnow as dt_utcnow, as_local import astral from datetime import datetime, timedelta -from .const import VERSION +VERSION = '1.0.0' _LOGGER = logging.getLogger(__name__) diff --git a/custom_components/circadian_lighting/const.py b/custom_components/circadian_lighting/const.py deleted file mode 100644 index 88138c0f..00000000 --- a/custom_components/circadian_lighting/const.py +++ /dev/null @@ -1,3 +0,0 @@ -# coding: utf-8 -"""Constants used by Circadian Lighting components.""" -VERSION = '1.0.0' \ No newline at end of file diff --git a/custom_components/circadian_lighting/sensor.py b/custom_components/circadian_lighting/sensor.py index a3d35045..3395142b 100644 --- a/custom_components/circadian_lighting/sensor.py +++ b/custom_components/circadian_lighting/sensor.py @@ -13,8 +13,6 @@ from homeassistant.helpers.entity import Entity import datetime -from .const import VERSION - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:theme-light-dark' diff --git a/custom_components/circadian_lighting/switch.py b/custom_components/circadian_lighting/switch.py index 4420eba8..380e03fe 100644 --- a/custom_components/circadian_lighting/switch.py +++ b/custom_components/circadian_lighting/switch.py @@ -26,8 +26,6 @@ from homeassistant.util.color import ( color_RGB_to_xy, color_temperature_kelvin_to_mired, color_temperature_to_rgb, color_xy_to_hs) -from .const import VERSION - _LOGGER = logging.getLogger(__name__) ICON = 'mdi:theme-light-dark'