mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-12 06:44:04 +02:00
Get rid of const.py
so there are fewer files for users to install
This commit is contained in:
parent
4ce6bb9f4a
commit
7033695a34
4 changed files with 1 additions and 8 deletions
|
|
@ -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__)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +0,0 @@
|
|||
# coding: utf-8
|
||||
"""Constants used by Circadian Lighting components."""
|
||||
VERSION = '1.0.0'
|
||||
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue