Commit Graph

582 Commits

Author SHA1 Message Date
Pierre Ståhl
bd98b7cd93 Add base entity class LocalTuyaEntity
All platforms will inherit from this class in the end, but this commit
starts with switch only.
2020-09-18 09:14:12 +02:00
rospogrigio
16cb29297b Introduced dps detection with bruteforcing for type_0d devices 2020-09-16 19:36:51 +02:00
Pierre Ståhl
0290b11dae Request DPS 1-150 in config flow 2020-09-16 19:36:51 +02:00
rospogrigio
9d917fe325 Merge branch 'physical_device' 2020-09-16 10:03:37 +02:00
rospogrigio
4056c0abb0 Fixing device name 2020-09-16 10:03:19 +02:00
rospogrigio
baee524d54 Merge branch 'physical_device' 2020-09-15 23:32:00 +02:00
rospogrigio
c99cc1f077 Removed unneeded friendly_name fields 2020-09-15 23:31:33 +02:00
rospogrigio
400ad57e01 Merge branch 'master' into physical_device 2020-09-15 12:55:46 +02:00
rospogrigio
b0ee281894 Merge branch 'master' into pytuya_refactoring 2020-09-15 12:41:52 +02:00
rospogrigio
b401020c99 Merge branch 'postlund-platform_setup' 2020-09-15 12:39:02 +02:00
Pierre Ståhl
9493f17de6 Forward config entry only to used platforms 2020-09-15 12:29:07 +02:00
rospogrigio
b3006a7c68 Merge branch 'pytuya_refactoring' into physical_device 2020-09-15 11:28:36 +02:00
rospogrigio
386d59b497 config_entry forwarded only to proper platform; DOMAIN imported from component 2020-09-15 10:59:06 +02:00
rospogrigio
22ccd51926 Fixed TuyaDevice init calls 2020-09-15 09:24:53 +02:00
rospogrigio
122d9a6a6f Merge branch 'pytuya_refactoring' into physical_device 2020-09-15 00:18:26 +02:00
rospogrigio
97ada3de4f Fix in validate_input 2020-09-15 00:17:42 +02:00
rospogrigio
6c68cdcbcc Merge branch 'pytuya_refactoring' into physical_device 2020-09-15 00:15:46 +02:00
rospogrigio
ce2461df2b Merge branch 'master' into pytuya_refactoring 2020-09-14 23:32:55 +02:00
rospogrigio
e824f285fa Merge branch 'postlund-fix_fan' 2020-09-14 20:59:39 +02:00
rospogrigio
285bffdc68 Fixed async_setup_entry in cover.py 2020-09-14 20:57:50 +02:00
rospogrigio
0e94b681db Fixed import from YAML in config_flow.py 2020-09-14 20:44:55 +02:00
Pierre Ståhl
50cbde330b Fix fan platform after merge 2020-09-13 19:02:13 +02:00
rospogrigio
d2281c4368 Merge branch 'postlund-cover_config_flow' 2020-09-13 15:00:33 +02:00
rospogrigio
27edcacde2 Fixed missing merging conflicts 2020-09-13 14:59:24 +02:00
rospogrigio
cc3f5e3a3a Merge branch 'postlund-fan_config_flow' 2020-09-13 14:23:26 +02:00
rospogrigio
04a215a062 Fixed merging conflicts 2020-09-13 14:23:09 +02:00
rospogrigio
250d7169c7 Merge branch 'postlund-cover_config_flow' 2020-09-13 14:18:51 +02:00
rospogrigio
6c77ce1c38 Fixed merging conflicts 2020-09-13 14:17:52 +02:00
rospogrigio
1df5928d6d Merge branch 'postlund-light_config_flow' 2020-09-13 14:15:01 +02:00
rospogrigio
853c1deb76 Fixed merging conflicts 2020-09-13 14:14:22 +02:00
rospogrigio
0cb0b38bdd Merge branch 'postlund-config_flow_switches' 2020-09-13 14:11:16 +02:00
rospogrigio
47b92b0178 Fixes suggested in PR #11 2020-09-13 14:03:08 +02:00
rospogrigio
c008339f43 First working implementation of Devices 2020-09-11 14:48:49 +02:00
rospogrigio
9a45eb8398 Fixed conflicts 2020-09-11 11:55:43 +02:00
rospogrigio
9c3786b7a6 Merge remote-tracking branch 'origin/pytuya_refactoring' into physical_device 2020-09-11 11:54:04 +02:00
rospogrigio
184199ef87 Pytuya library refactoring and code cleaning 2020-09-11 11:46:01 +02:00
rospogrigio
61fd48cbda Merge branch 'config_flow_switches' of https://github.com/postlund/localtuya-homeassistant into postlund-config_flow_switches 2020-09-10 16:08:21 +02:00
Pierre Ståhl
f9a4b4ad8a Add config flow support for fan 2020-09-10 12:07:59 +02:00
rospogrigio
eca400f581 Update info.md 2020-09-10 11:49:52 +02:00
rospogrigio
783a556ff0 Updated pytuya reference to 7.1.0 2020-09-10 11:48:53 +02:00
rospogrigio
5b84f05ef1 Update README.md 2020-09-10 11:46:24 +02:00
rospogrigio
2fd6c18271 tuyadebug updated to pytuya 7.1.0 2020-09-10 11:44:05 +02:00
rospogrigio
8e9fb82304 Introduced type_0a and type_0d devices autodetection 2020-09-10 10:59:58 +02:00
Pierre Ståhl
edc9debf83 Add config flow support for cover 2020-09-10 10:50:58 +02:00
Pierre Ståhl
ae64158da5 Use correct device class from pytuya 2020-09-10 10:42:44 +02:00
Pierre Ståhl
11763d90c5 Use generic Device in config flow 2020-09-09 23:06:28 +02:00
Pierre Ståhl
7efb3024fb Support arbitrary flow schemas for platforms 2020-09-09 23:05:42 +02:00
Pierre Ståhl
7018625f04 Add light support and clean up schemas 2020-09-09 22:59:37 +02:00
Pierre Ståhl
aa1ed67f94 Make energy attributes in switch optional 2020-09-09 22:12:44 +02:00
Pierre Ståhl
43a36f458c Remove pre-filled values from config_flow
Also improve relative module import by not hardcoding package path.
2020-09-08 20:11:43 +02:00