Pierre Ståhl
0531a284c7
Add contextual logging where applicable ( #124 )
...
* Add contextual logging where applicable
* Compress device id in log output
2020-11-17 12:54:01 +01:00
Pierre Ståhl
c8a44019fa
Improve discovery error output ( #134 )
2020-11-17 12:26:18 +01:00
ThomasADavis
3e52811aac
Fan controller updates ( #155 )
...
* Fan controller updates.
This updates the fan controller to be more dynamic on which dp's it uses.
Fan speeds can 1,2,3,4 or low,medium,mid,high,auto. Fans with more
than 3 speeds is not supported by Home Assistant.
Variable speed fans are not supported at this time.
* rename set_dps -> set_dp
* change to use self._dp_id instead of a fixed dp
Co-authored-by: Thomas Davis <tdavis@nersc.gov >
Co-authored-by: Pierre Ståhl <pierre.staahl@gmail.com >
2020-11-16 07:10:02 +01:00
Kendell R
c1878f82e2
Improve GitHub Actions ( #97 )
...
* Delete hassfest.yaml
* Update and rename ci.yaml to tox.yaml
* Create combined.yaml
* Update hacs.json
* Update README.md
* Update combined.yaml
* Remove unused import
* Restored wrongly deleted line in cover.py
* Update config_flow.py
* Update __init__.py
Co-authored-by: Pierre Ståhl <pierre.staahl@gmail.com >
Co-authored-by: rospogrigio <49229287+rospogrigio@users.noreply.github.com >
2020-10-22 11:43:47 +02:00
Pierre Ståhl
44db913514
Rename set_dps to set_dp in pytuya
2020-10-15 18:54:36 +02:00
Pierre Ståhl
5d64cb4e18
Convert fan platform to asyncio
2020-10-14 14:21:10 +02:00
Pierre Ståhl
cad31f1ffe
Convert pytuya to asyncio
2020-10-14 13:10:20 +02:00
Pierre Ståhl
8456c6039c
Add platform specific DPS to requests
2020-10-05 09:44:13 +02:00
Pierre Ståhl
8cc978a04d
Refactor async_setup_entry
2020-10-05 09:44:13 +02:00
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