Bas Nijholt
|
8d8a409a20
|
add _ALLOWED_ORDERS check
|
2020-09-19 12:41:12 +02:00 |
|
Bas Nijholt
|
edfaedba3c
|
use globals
|
2020-09-19 12:24:15 +02:00 |
|
Bas Nijholt
|
9593bca7a8
|
simplify _calc_percent
|
2020-09-19 12:18:50 +02:00 |
|
Bas Nijholt
|
aea2e83a20
|
cleanup unused imports
|
2020-09-19 11:35:28 +02:00 |
|
Bas Nijholt
|
9d06be0883
|
WIP
|
2020-09-19 11:10:54 +02:00 |
|
Bas Nijholt
|
909584abbf
|
small fixes
|
2020-09-16 11:06:15 +02:00 |
|
Bas Nijholt
|
954e022860
|
unify config options flow and YAML schema
|
2020-09-16 00:03:58 +02:00 |
|
Bas Nijholt
|
48c16ff637
|
unify configs
|
2020-09-15 23:33:19 +02:00 |
|
Bas Nijholt
|
c4bb689f27
|
update config_flow.py
|
2020-09-15 23:21:53 +02:00 |
|
Bas Nijholt
|
7b79096abc
|
simplification and don't add trackers when lights is []
|
2020-09-15 22:59:54 +02:00 |
|
Bas Nijholt
|
4870b7c405
|
add missing await
|
2020-09-15 21:48:51 +02:00 |
|
Bas Nijholt
|
b0b11d0652
|
Revert "use events"
This reverts commit 0b1be003e9.
|
2020-09-15 21:27:33 +02:00 |
|
Bas Nijholt
|
0b1be003e9
|
use events
|
2020-09-15 21:27:15 +02:00 |
|
Bas Nijholt
|
276d991c1c
|
unpack light groups
|
2020-09-15 21:05:21 +02:00 |
|
Bas Nijholt
|
d4fcaa404d
|
colortemp -> color_temp
|
2020-09-15 21:03:01 +02:00 |
|
Bas Nijholt
|
4898cbcaff
|
split _adjust_lights
|
2020-09-15 20:40:24 +02:00 |
|
Bas Nijholt
|
6e5668ea3b
|
remove lights_brightness, lights_mired, lights_rgb, lights_xy with "lights"
|
2020-09-15 20:29:59 +02:00 |
|
Bas Nijholt
|
f444a8a142
|
need to change the name of folder to get strings.json working
|
2020-09-13 10:46:33 +02:00 |
|
Bas Nijholt
|
1331b792db
|
small changes
|
2020-09-13 10:46:08 +02:00 |
|
Bas Nijholt
|
6964d08df0
|
add config flow basics
|
2020-09-12 23:25:36 +02:00 |
|
Bas Nijholt
|
667c645ccf
|
BRIGHT -> BRIGHTNESS
|
2020-09-12 14:37:38 +02:00 |
|
Bas Nijholt
|
cf414925d8
|
change default interval to 90
|
2020-09-12 14:33:57 +02:00 |
|
Bas Nijholt
|
4f0b0645c1
|
use self.unsub_tracker instead of _state
|
2020-09-12 14:32:43 +02:00 |
|
Bas Nijholt
|
47a4db229f
|
divide percent by 100 and fix updating of attrs
|
2020-09-12 14:14:05 +02:00 |
|
Bas Nijholt
|
2b891c5521
|
simplify calculation
|
2020-09-12 13:22:54 +02:00 |
|
Bas Nijholt
|
fe6ed9fb2c
|
get times from astral in UTC
|
2020-09-12 13:18:15 +02:00 |
|
Bas Nijholt
|
36f82e8670
|
comments and style
|
2020-09-12 13:03:26 +02:00 |
|
Bas Nijholt
|
b7245ec219
|
no need to cast to a different type
|
2020-09-12 12:55:29 +02:00 |
|
Bas Nijholt
|
7f99426466
|
define CONF_TRANSITION
|
2020-09-12 12:34:16 +02:00 |
|
Bas Nijholt
|
8dc0b59993
|
remove elevation
|
2020-09-12 12:31:10 +02:00 |
|
Bas Nijholt
|
b0e89002cd
|
rename ct -> mired
|
2020-09-12 12:30:26 +02:00 |
|
Bas Nijholt
|
99490b4ad5
|
switch to a simpler setup
|
2020-09-12 12:21:40 +02:00 |
|
Bas Nijholt
|
8cd6a255cd
|
add transition=self._initial_transition
|
2020-09-11 21:02:32 +02:00 |
|
Bas Nijholt
|
79944c9468
|
use astral location from HA
|
2020-09-11 20:58:43 +02:00 |
|
Bas Nijholt
|
4aff61d8cb
|
move to single switch
|
2020-09-11 20:31:51 +02:00 |
|
Bas Nijholt
|
b16d69b1c9
|
switch doesn't need to have the profile as attribute
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
6a0f12ab2d
|
setup a sensor per profile
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
c18cb47cbf
|
fix doc-string
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
24f422ccf6
|
make switch use profile
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
18561e5ce6
|
fix import
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
7e41621e41
|
setup sensor for default profile
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
cd31b5d9f1
|
profiles -> profile
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
ad57fb0989
|
add option to add multiple profiles
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
7cbe6a4258
|
another attempt
|
2020-09-11 19:51:01 +02:00 |
|
Bas Nijholt
|
ae64db7077
|
initial implementation of profiles
|
2020-09-11 19:51:00 +02:00 |
|
Bas Nijholt
|
7c29e3281a
|
start implementing profile settings, as suggested in https://github.com/claytonjn/hass-circadian_lighting/issues/91#issuecomment-647084406
|
2020-09-11 19:51:00 +02:00 |
|
Bas Nijholt
|
3bf3c5f541
|
fix the today['sunset'] is not set before used in comparison
|
2020-09-09 23:26:30 +02:00 |
|
Bas Nijholt
|
55673b7e61
|
remove timezonefinder dependency
|
2020-09-06 09:59:20 +02:00 |
|
Bas Nijholt
|
7744c2e939
|
decapitalize "Both" -> "both"
|
2020-09-05 20:17:14 +02:00 |
|
Bas Nijholt
|
3b868858b0
|
make async_turn_off actually async
|
2020-09-05 20:16:15 +02:00 |
|