Bas Nijholt
dd141d2335
Merge pull request #239 from MangoScango/delay
...
Avoid flickering on light turn on with a configurable delay
2022-08-29 09:29:51 -07:00
Bas Nijholt
01fd7f96e2
Run all pre-commit filters
2022-08-28 15:08:03 -07:00
MangoScango
d56852a197
Update Strings
2021-12-24 12:46:02 -05:00
MangoScango
c509bd81c0
add adapt_delay config
...
Option to set a delay between when a lightstate off -> on event is detected, and lights are adapted. Trying to adapt lights that are still going through their initial turning on fade in transition can cause flickering, so setting this to a number higher than the transition time avoids the problem.
2021-12-24 11:44:34 -05:00
Avi Miller
fa10d95305
Make the transition time to/from sleep mode configurable
...
Signed-off-by: Avi Miller <me@dje.li>
2021-09-16 14:15:36 +10:00
Bas Nijholt
8c39662318
add separate_turn_on_commands option for MQTT lights
...
Closes https://github.com/basnijholt/adaptive-lighting/issues/29
2020-10-27 20:39:05 +01:00
Bas Nijholt
8b6527fd14
define a adapt_brightness and adapt_color switch and watch for color or brightness related data in light.turn_on
2020-10-21 23:05:12 +02:00
Bas Nijholt
7555638b6f
add percent
2020-10-20 00:06:10 +02:00
Bas Nijholt
5aed27eb0a
small changes that came up in implementing tests
2020-10-19 20:43:58 +02:00
Bas Nijholt
d3861163d7
rename 'manually_controlled' -> 'manual_control' and fix state save bug
2020-10-16 14:14:44 +02:00
Bas Nijholt
d67479d017
sync
2020-10-14 16:00:51 +02:00
Bas Nijholt
86d1cad588
sync with PR
2020-10-13 22:39:38 +02:00
Bas Nijholt
6a1bb180b5
change order
2020-10-09 15:13:09 +02:00
Bas Nijholt
6c6fe59e6f
change order
2020-10-05 14:41:21 +02:00
Bas Nijholt
e81d25983f
change opt order
2020-10-04 15:12:14 +02:00
Bas Nijholt
168484462a
add detect_non_ha_changes option
2020-10-04 15:09:58 +02:00
Bas Nijholt
3eb593ec6d
add take_over_control feat
2020-10-03 14:55:02 +02:00
Bas Nijholt
303e2fe27a
add sleep_mode switch and deprecate disable_state/entity
2020-10-02 19:47:06 +02:00
Bas Nijholt
1c88ecc572
renames
2020-09-29 23:39:46 +02:00
Bas Nijholt
eda8c971f3
rename again
2020-09-29 23:11:52 +02:00
Bas Nijholt
53bf68748a
rename to adapt_brightness, adapt_color_temp, and adapt_rgb_color
2020-09-29 23:09:54 +02:00
Bas Nijholt
0c76334124
update to latest PR https://github.com/home-assistant/core/pull/40626
2020-09-28 20:48:09 +02:00
Bas Nijholt
e6e51dac76
always use color_temp over rgb
2020-09-28 16:31:41 +02:00
Bas Nijholt
6a5ded6981
update to latest PR
2020-09-28 13:10:41 +02:00
Bas Nijholt
a4b4ef3acd
fix problem with turn_off transition
2020-09-27 16:21:42 +02:00
Bas Nijholt
869ff917e0
rename disable_color -> disable_color_adjust
2020-09-27 01:18:39 +02:00
Bas Nijholt
199d31b891
add disable_color option
2020-09-27 00:19:08 +02:00
Bas Nijholt
5ee3575efd
fix the 'off' -> 'on' -> 'off' switches
2020-09-27 00:06:31 +02:00
Bas Nijholt
ef04036bfe
fix bug and use vol.In for entity selection
2020-09-26 18:24:44 +02:00
Bas Nijholt
52fa727c75
sync with HA/core PR
2020-09-26 17:39:17 +02:00
Bas Nijholt
5be04625b6
fix ha/core pre-commit issues and submit this code as PR
2020-09-26 16:38:22 +02:00
Bas Nijholt
8f4bd6b2ab
rename variable
2020-09-26 13:05:27 +02:00
Bas Nijholt
34acd03f46
rename replace_none -> replace_none_str
2020-09-26 13:01:43 +02:00
Bas Nijholt
ab61cda80f
add more options to apply service
2020-09-25 16:45:10 +02:00
Bas Nijholt
ab069de4aa
simplify
2020-09-25 10:49:58 +02:00
Bas Nijholt
21cc22d42c
call even if off
2020-09-25 10:41:42 +02:00
Bas Nijholt
5b11893583
add apply service
2020-09-25 10:27:14 +02:00
Bas Nijholt
049fb8b983
rename FAKE_NONE -> NONE_STR
2020-09-24 23:54:14 +02:00
Bas Nijholt
59f8f743ab
simplify setting up DOMAIN_SCHEMA
2020-09-24 23:42:21 +02:00
Bas Nijholt
b67b25da23
coerce to serializable type
2020-09-24 20:41:24 +02:00
Bas Nijholt
3b275e1dd3
start with YAML config validation
2020-09-23 18:20:25 +02:00
Bas Nijholt
d33a96fd04
simplify validation
2020-09-23 12:59:58 +02:00
Bas Nijholt
5a4da9512a
use VALIDATION in switch.py
2020-09-23 12:35:57 +02:00
Bas Nijholt
575b81cbc5
rename FAKE_NONE to None
2020-09-20 23:00:15 +02:00
Bas Nijholt
ee607bc60b
use FAKE_NONE
2020-09-20 22:54:45 +02:00
Bas Nijholt
71cd8f7385
style
2020-09-20 22:44:14 +02:00
Bas Nijholt
0ed8ab41c0
fix most of the settings by hardcoding 'none'
2020-09-20 20:49:13 +02:00
Bas Nijholt
f8c1a50107
convert strings to timedeltas and datetimes
2020-09-20 20:21:17 +02:00
Bas Nijholt
d63abb4d28
commit working version but not with all options
2020-09-20 18:33:36 +02:00
Bas Nijholt
9d06be0883
WIP
2020-09-19 11:10:54 +02:00