Commit Graph

70 Commits

Author SHA1 Message Date
Pierre Ståhl
caaf884a7a Get status once per device instead of per platform 2020-09-27 14:19:35 +02:00
Pierre Ståhl
d22d081335 Clean up YAML examples in code files 2020-09-26 22:38:26 +02:00
rospogrigio
3259a4f654 Second part of one_device_only big merge 2020-09-26 22:38:26 +02:00
Pierre Ståhl
0048ce6d5e Move YAML config to component 2020-09-26 22:38:26 +02:00
Pierre Ståhl
fefee6944f Add shared code to a common module 2020-09-24 09:20:31 +02:00
Pierre Ståhl
4e72767b30 Fix flake8 issues and enable flake8 in tox 2020-09-23 17:50:24 +02:00
Pierre Ståhl
a18c69f8eb Fix pydocstyle issues and enable in tox 2020-09-23 16:47:08 +02:00
rospogrigio
83b3b6f21b Moved TuyaCache to __init__.py, and renamed to TuyaDevice. In pytuya, renamed TuyaDevice to TuyaInterface 2020-09-22 00:51:33 +02:00
Pierre Ståhl
b169c86473 Make fan platform inherit from LocalTuyaEntity
Also big clean up and some bug fixes.
2020-09-21 23:55:56 +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
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
Pierre Ståhl
50cbde330b Fix fan platform after merge 2020-09-13 19:02:13 +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
184199ef87 Pytuya library refactoring and code cleaning 2020-09-11 11:46:01 +02:00
rospogrigio
8e9fb82304 Introduced type_0a and type_0d devices autodetection 2020-09-10 10:59:58 +02:00
fancygaphtrn
8eacf15762 Added unique_id and available in line with upstream 2020-09-04 10:02:54 -04:00
fancygaphtrn
2e6d313d0e Fan support.
My fan is a technical pro pedestal fan.   supports on/off, set_speed off/low/medium/high and oscillate on/off
2020-06-30 07:22:33 -04:00