sibowler
f85b25dea9
Fixing formatting/style errors
2022-07-14 08:59:54 +10:00
sibowler
364569bad8
Rebase from upstream
2022-07-14 06:46:36 +10:00
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
ThomasADavis
e137d598f0
This makes sure that any scaling is only applied to numeric values. ( #154 )
...
* This makes sure that any scaling is only applied to numeric values.
* Updates fan controller.
This adds support for 3 speed fans, 4 speeds fan (with choice of 3 of the 4 speeds),
fans speed of 1,2,3,4 or low,medium,mid,high, and auto.
Fans that have variable speeds, or greater than 4 speeds is not supported
at this time. HA does not support variable speed fans and more than 3 speeds.
* Revert "Updates fan controller."
This reverts commit 00352da2de72d02977d8a7d3780aabf4f28ee0fa.
Co-authored-by: Thomas Davis <tdavis@nersc.gov >
2020-11-15 18:49:08 +01:00
ultratoto14
6cd509f4f8
Remove default scale factor ( #138 )
2020-11-05 14:34:48 +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
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
208b0ad5e9
Use two digits precision in senso
2020-09-26 22:38:26 +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
1cc8efece4
Fix sensor scaling
2020-09-20 19:32:09 +02:00
Pierre Ståhl
26d83774e2
Add generic sensor platform
2020-09-19 23:43:12 +02:00