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 |
|
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
|
2b0eaff884
|
validate options
|
2020-09-23 12:17:51 +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
|
355f88bf8f
|
add comment
|
2020-09-20 22:53:24 +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
|
b37e006ba8
|
add semi working version with positive_time_dict
|
2020-09-20 19:59:13 +02:00 |
|
Bas Nijholt
|
f778f45590
|
remove backticks from strings.json
|
2020-09-20 18:38:53 +02:00 |
|
Bas Nijholt
|
a18a312ea9
|
styling
|
2020-09-20 18:38:01 +02:00 |
|
Bas Nijholt
|
d63abb4d28
|
commit working version but not with all options
|
2020-09-20 18:33:36 +02:00 |
|
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 |
|