Commit graph

268 commits

Author SHA1 Message Date
Bas Nijholt
297539adda fixes 2020-09-29 13:13:08 +02:00
Bas Nijholt
d06d4e706a fix bug 2020-09-29 10:52:22 +02:00
Bas Nijholt
58b4c639dd define and use switch._unsub_trackers 2020-09-29 10:48:35 +02:00
Bas Nijholt
ee71742646 fix turning on and off, delay setup listeners until HA start 2020-09-29 10:28:01 +02:00
Bas Nijholt
d18b2a9da6 fix unsub sub 2020-09-28 23:39:55 +02:00
Bas Nijholt
95823576ea pylint fix 2020-09-28 21:16:10 +02:00
Bas Nijholt
02923a3c9e do not raise but call self._abort_if_unique_id_configured 2020-09-28 21:13:23 +02:00
Bas Nijholt
5167dc6565 fix toggle bug 2020-09-28 21:08:12 +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
0b1ff117d4 fixup 2020-09-28 16:50:15 +02:00
Bas Nijholt
e6e51dac76 always use color_temp over rgb 2020-09-28 16:31:41 +02:00
Bas Nijholt
6bb5e4229d update yaml settings 2020-09-28 16:10:05 +02:00
Bas Nijholt
d198528029 add hacs.json 2020-09-28 14:48:09 +02:00
Bas Nijholt
555d405399 simplify turn on and off listening 2020-09-28 14:35:32 +02:00
Bas Nijholt
6a5ded6981 update to latest PR 2020-09-28 13:10:41 +02:00
Bas Nijholt
5f7e8af03d log fixes 2020-09-28 00:33:15 +02:00
Bas Nijholt
2f1531c692 use light.turn_on 2020-09-28 00:26:21 +02:00
Bas Nijholt
7575d4d09d remove indentation level in _maybe_cancel 2020-09-27 20:54:38 +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
db63c5acef fix strings 2020-09-26 18:53:00 +02:00
Bas Nijholt
478200b67e fix pylint 2020-09-26 18:48:48 +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
2109921eee rename function 2020-09-26 13:13:44 +02:00
Bas Nijholt
685e4cd39b rephase some text 2020-09-26 13:12:06 +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
bd7edb59c1 simplify validate_options 2020-09-25 00:11:22 +02:00
Bas Nijholt
1aa6f8f345 set name correctly 2020-09-25 00:00:35 +02:00
Bas Nijholt
049fb8b983 rename FAKE_NONE -> NONE_STR 2020-09-24 23:54:14 +02:00
Bas Nijholt
be6dd97920 don't pass name into AdaptiveSwitch 2020-09-24 23:51:41 +02:00
Bas Nijholt
8618cd89b5 create validate function 2020-09-24 23:47:22 +02:00
Bas Nijholt
59f8f743ab simplify setting up DOMAIN_SCHEMA 2020-09-24 23:42:21 +02:00
Bas Nijholt
2c0ab9d929 do not show options if managed via YAML 2020-09-24 23:28:03 +02:00
Bas Nijholt
28389ebebe abort if already setup 2020-09-24 21:01:03 +02:00
Bas Nijholt
e9ee147e20 fix data in switch 2020-09-24 20:56:01 +02:00
Bas Nijholt
5168fe91ed fix title 2020-09-24 20:44:42 +02:00
Bas Nijholt
b67b25da23 coerce to serializable type 2020-09-24 20:41:24 +02:00
Bas Nijholt
d4123ee20a use defaults 2020-09-23 19:09:35 +02:00
Bas Nijholt
3b275e1dd3 start with YAML config validation 2020-09-23 18:20:25 +02:00
Bas Nijholt
cadd8279b9 add comment 2020-09-23 13:17:34 +02:00
Bas Nijholt
5ff1da3c1b simplify schema creation 2020-09-23 13:11:50 +02:00