Commit Graph

70 Commits

Author SHA1 Message Date
dim145 b01861d53e fix: add FanEntityFeature.TURN_OFF/ON to fans 2025-01-14 09:37:19 +01:00
Elad Bar 9c0e733804 Replaced SUPPORT_* with enums, set minimum HA version in HACS configuration to 2024.1.0 2024-01-05 13:29:06 +02:00
rospogrigio 39ef76bafb Fixed tox issues 2023-01-10 22:24:05 +01:00
DeeSe 85a1ae069c Lint fix 2022-09-29 14:05:07 +02:00
Javier 46e5573325 Removed trailing space 2022-09-05 22:58:11 +02:00
DeeSe f06b8ccb49 Added DPS value type configuration 2022-07-07 14:07:19 +02:00
Tim ddee11f741 Revert "Merge branch 'add-string/integer-and-preset' into master"
This reverts commit a6ef6a4b7f, reversing
changes made to b748f0425c.
2021-12-22 23:05:33 +10:30
Tim a6ef6a4b7f Merge branch 'add-string/integer-and-preset' into master 2021-12-22 22:52:42 +10:30
Tim b748f0425c Remove blank line 2021-12-22 20:48:46 +10:30
Tim 0e048af29b fix issue with last tox fix 2021-12-22 20:01:39 +10:30
Tim a25bf75a4d tox fixes 2021-12-22 19:45:16 +10:30
Tim e1ac7deace remove blank line 2021-12-22 11:35:04 +10:30
Tim ced1550247 Merge branch 'master' into master 2021-12-17 12:11:34 +00:00
sibowler 5a4167fe5b Fix dependencies to account for Select type. Also fixup errors in Fan due to movement in dependencies. 2021-12-16 10:16:53 +01:00
Tim d600cba89c fix tox errors 2021-11-11 12:28:55 +00:00
Tim e8aa5ac9a8 integration inputs 2021-11-11 22:46:55 +10:30
Tim e55cd2013f line length issue 2021-11-11 13:57:18 +10:30
Tim a171430cc8 fix error 2021-11-11 13:53:51 +10:30
Tim 95ef271dab more tox fixes 2021-11-11 13:50:18 +10:30
Tim 6e6cd0861f fix tox errors 2021-11-11 13:15:09 +10:30
Tim e741b2f65e Merge branch 'master' of https://github.com/tinglis1/localtuya 2021-11-11 12:20:08 +10:30
Tim eda45fc896 fix tox errors 2021-11-11 12:14:49 +10:30
Tim af9f11ad10 fix formatting errors 2021-11-11 00:45:42 +00:00
Tim 9bf9b9f55d fix formatting errors 2021-11-11 11:12:43 +10:30
Tim c99a93bd6c Fix speed variable error 2021-11-10 06:59:58 +10:30
Tim c8e660dfac Revert "add presets and integer/string option"
This reverts commit ec223ba73d.
2021-10-26 21:41:59 +10:30
Tim 0f43923c2e Revert "missing imports"
This reverts commit 6f281a08fc.
2021-10-26 21:41:56 +10:30
Tim 7ac4fe5a11 Revert "correctly split preset and speed in updates"
This reverts commit 0c59ddc7e0.
2021-10-26 21:41:51 +10:30
Tim 0c59ddc7e0 correctly split preset and speed in updates 2021-10-26 16:09:39 +10:30
Tim 6f281a08fc missing imports 2021-10-26 15:35:18 +10:30
Tim ec223ba73d add presets and integer/string option 2021-10-26 15:32:23 +10:30
Prasad Bankar 3fca5566bb Update fan.py
Changes:
Changed set_speed in turn_on method
Changed set_percentage method for better flow
Logger changes
2021-10-06 21:37:17 +05:30
Tim 81967039c2 fixed logger error 2021-09-02 10:35:34 +09:30
Tim 5cbf556b91 remove comments 2021-08-19 19:59:20 +09:30
Tim 4cc7ffc072 update to new fan entity configuration 2021-08-19 19:57:51 +09:30
Tim b8acadc195 working
add more config options and presets in future
2021-08-18 13:15:04 +09:30
Tim 4eb1806eb4 Update fan.py 2021-08-18 11:24:52 +09:30
Tim 761a5f133a Update fan.py 2021-08-18 11:07:17 +09:30
Shane Donohoe 885b08c247 Include "big" high fan setting (#413)
The Asakuki diffuser has its speed setting under the 103 DPS and uses "big" for its high setting.

Co-authored-by: Pierre Ståhl <pierre.staahl@gmail.com>
2021-04-01 12:15:51 +02:00
Itai Raz 397e99fec1 allow set small / large values for low and high speed for fans 2021-01-01 19:34:29 +02:00
Pierre Ståhl 52c62c5596 Fix typo of dp_id in fan platform (#178) 2020-11-22 07:21:41 +01: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
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