Get rid of const.py

so there are fewer files for users to install
This commit is contained in:
Unknown 2019-04-04 21:29:51 -04:00
commit 7033695a34
4 changed files with 1 additions and 8 deletions

View file

@ -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__)

View file

@ -1,3 +0,0 @@
# coding: utf-8
"""Constants used by Circadian Lighting components."""
VERSION = '1.0.0'

View file

@ -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'

View file

@ -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'