mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-10-07 18:07:08 +02:00
Refactor _supported_features (#565)
* initial commit * change features to dict * another slight refactor
This commit is contained in:
parent
e30b7debe5
commit
a888afd6dc
2 changed files with 66 additions and 31 deletions
|
|
@ -273,6 +273,8 @@ VALIDATION_TUPLES = [
|
|||
),
|
||||
]
|
||||
|
||||
CONST_COLOR = "color"
|
||||
|
||||
|
||||
def timedelta_as_int(value):
|
||||
"""Convert a `datetime.timedelta` object to an integer.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue