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 |
|
Clayton Nummer
|
5999e2b72b
|
Merge pull request #116 from basnijholt/fix-percentage
Fix percentage, closes #115
|
2020-09-09 21:30:43 -04:00 |
|
Bas Nijholt
|
3bf3c5f541
|
fix the today['sunset'] is not set before used in comparison
|
2020-09-09 23:26:30 +02:00 |
|
Clayton Nummer
|
2b3588f2ce
|
Merge pull request #113 from basnijholt/remove-timezone
Remove timezone dependency
|
2020-09-06 08:03:56 -04:00 |
|
Bas Nijholt
|
55673b7e61
|
remove timezonefinder dependency
|
2020-09-06 09:59:20 +02:00 |
|
Clayton Nummer
|
7fd9ae2c72
|
Merge pull request #112 from basnijholt/patch-1
Fix case when from_state is None, closes #111
|
2020-09-06 00:07:25 -04: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 |
|
Bas Nijholt
|
b381c5a96d
|
make is_sleep a private method
|
2020-09-05 20:14:51 +02:00 |
|
Bas Nijholt
|
46a74cb5a5
|
prepend async_ to turn_on and turn_off
|
2020-09-05 20:09:56 +02:00 |
|
Bas Nijholt
|
618234259d
|
transition should always exist
|
2020-09-05 17:39:19 +02:00 |
|
Bas Nijholt
|
37ac31c3c6
|
to_state will always be on
|
2020-09-05 15:08:26 +02:00 |
|
Bas Nijholt
|
a464189ce0
|
Fix case when from_state is None, closes #111
Made this commit on my phone and didn't test it yet.
|
2020-09-05 15:02:52 +02:00 |
|
Clayton Nummer
|
d0e195f04b
|
Merge pull request #110 from basnijholt/dev
add one more _LOGGER line
|
2020-09-04 12:44:31 -04:00 |
|
Bas Nijholt
|
9074b9fe71
|
add one more _LOGGER line
|
2020-09-04 18:34:20 +02:00 |
|
Clayton Nummer
|
7289957ce8
|
Merge pull request #107 from basnijholt/styling
Rewrite and simplify code
|
2020-09-04 10:51:06 -04:00 |
|
Bas Nijholt
|
0264aeaa09
|
add a more useful debug message for state changing
|
2020-09-04 16:18:45 +02:00 |
|
Bas Nijholt
|
dee9dd10f8
|
run black
|
2020-09-03 23:56:48 +02:00 |
|