Commit Graph

686 Commits

Author SHA1 Message Date
rospogrigio d8acf60076 Fix for version not being set yet when calling _setup_dispatcher 2023-01-10 11:31:37 +01:00
rospogrigio cdcfd1d08c Fixed tox issues 2023-01-09 23:55:37 +01:00
rospogrigio 9c6daec476 Merge branch 'protocol_3.4' of github.com:rospogrigio/localtuya into protocol_3.4 2023-01-09 23:51:01 +01:00
rospogrigio 33c92dc28c Updated README.md and info.md 2023-01-09 23:49:22 +01:00
rospogrigio f990e848a5 Fixed tox issues 2023-01-09 22:48:10 +00:00
rospogrigio 966c3ec536 Fixed tox issues 2023-01-09 23:45:06 +01:00
sibowler 0865aa6efb Merge branch 'rospogrigio:master' into fix_semaphore_release_error 2023-01-09 15:26:43 +11:00
rospogrigio ecf66f76e6 Fixed sequence numbering on status update 2023-01-09 01:49:51 +01:00
rospogrigio f23a945f5e Fixed negotiation and sequence numbers for protocol 3.4 2023-01-09 01:33:18 +01:00
rospogrigio 9efbcce0e4 Fixed requested DPs for type_0d devices 2023-01-08 07:42:53 +01:00
rospogrigio 9d94f1665d Added debugging 2023-01-07 23:24:02 +01:00
rospogrigio 24853b5de7 Fixed HEARTBEAT command 2023-01-07 22:59:08 +01:00
rospogrigio 5fbf5b39b4 Introduced 3.4 protocol option in config flow 2023-01-07 22:44:27 +01:00
rospogrigio 4a5bf83867 Introduced pytuya with support for 3.4 protocol 2023-01-07 22:42:11 +01:00
rospogrigio a2e04b40cf Merge pull request #712 from Daandeve/master
#711 Implemented m/p HVAC mode set
2022-11-14 14:13:03 +01:00
Daan Kemper 831ae55804 #711 Implemented m/p HVAC mode set 2022-11-14 14:03:46 +01:00
sibowler 8c597bb18f Fix for AttributeError: 'TuyaMessage' object has no attribute 'release' error 2022-10-17 07:18:06 +11:00
rospogrigio fb0bdc56e9 Merge pull request #849 from wrt54g/url
Components to integrations
2022-10-12 11:14:47 +02:00
rospogrigio 79856bb365 Merge branch 'master' into url 2022-10-12 10:46:29 +02:00
rospogrigio ee25098f63 Update manifest.json 2022-10-11 11:49:04 +02:00
rospogrigio 154b960513 Merge pull request #1022 from sibowler/fix_restart_behaviour
Implementing safe default for devices not requiring RESET/Passive functionality - Fix for bug in 4.1.0
2022-10-11 11:47:46 +02:00
rospogrigio 6500f58e79 Merge branch 'master' into fix_restart_behaviour 2022-10-04 11:35:58 +02:00
rospogrigio 64dcb159af Merge pull request #942 from deese/master
Added DPS value type configuration
2022-09-29 14:15:52 +02:00
DeeSe 85a1ae069c Lint fix 2022-09-29 14:05:07 +02:00
sibowler 28cbfdb2bd Updating documentation 2022-09-10 06:57:38 +10:00
sibowler f7ce9be5f6 Changes to make Passive DPS entites a configurable item 2022-09-10 06:40:53 +10:00
sibowler 1db48e5012 Updating readme information to reflect the change. 2022-09-08 06:12:19 +10:00
sibowler 21f7af6ba8 Implementing safe default for devices not requiring RESET 2022-09-07 23:21:06 +10:00
deese b1081303bf Merge branch 'master' into master 2022-09-05 23:00:24 +02:00
Javier 46e5573325 Removed trailing space 2022-09-05 22:58:11 +02:00
rospogrigio fa55cd6a38 Ported README.md updates to info.md 2022-09-05 10:21:24 +02:00
rospogrigio 21e6aade35 Edited manifest.json to 4.1.0 2022-09-05 10:16:11 +02:00
rospogrigio 7142304ee9 Merge pull request #956 from sibowler/restore_state
Support Passive DPS devices, Restoring state after power off & NumberEntity enhancements
2022-09-05 10:14:56 +02:00
sibowler 19a0cb6d15 Fixing slight format error 2022-09-04 14:06:10 +10:00
sibowler 8c4894371f Fix for cover issues with new state restore functionality 2022-09-04 14:02:06 +10:00
sibowler 8de987b2a0 Fix for cover defect 2022-09-01 22:25:24 +10:00
sibowler cf571c0ce5 Merge branch 'master' into restore_state 2022-09-01 06:11:37 +10:00
rospogrigio 6a489c6a43 Merge branch 'master' into master 2022-08-30 13:05:58 +02:00
rospogrigio 2bae03c679 Release 4.0.2 2022-08-30 10:28:08 +02:00
rospogrigio 9d1f46d15a Merge branch 'master' into master 2022-08-30 09:42:10 +02:00
Mark Breen 43c01eefd9 Refactor number entity overrides
Relates to issues [929](https://github.com/rospogrigio/localtuya/issues/929), [939](https://github.com/rospogrigio/localtuya/issues/939) & [941](https://github.com/rospogrigio/localtuya/issues/941)
I do not have any suitable tuya devices in use to test against this number entity however the warning in logs "LocaltuyaNumber is overriding deprecated methods on an instance of NumberEntity] is now gone

https://developers.home-assistant.io/blog/2022/06/14/number_entity_refactoring/
2022-08-29 14:44:45 +02:00
rospogrigio 205a8445ee Reverting requirements.txt 2022-08-16 16:49:33 +02:00
rospogrigio fdc9862a33 Update requirements_test.txt 2022-08-16 16:20:41 +02:00
deese 84e3af9eda Merge branch 'master' into master 2022-08-11 12:59:37 +02:00
Fabien Brachere 8a696cbaf2 Add "1/0" entry for HVAC_MODE_SETS
BHT-002 thermostat DP #4 set the heating mode (auto or manual). The accepted values are strings "0" for auto mode and "1" for manual mode.
This commit add an entry "1/0" to support this behaviour.
2022-07-25 09:58:00 +02:00
sibowler ad1f757818 Implementing RESET Tuya function to enable devices which are stuck in a zombie mode to start responding to commands. Added configurable DPS for Reset command as found devices wouldn't 'wake up' unless they had exactly the right entries 2022-07-20 06:14:12 +10:00
sibowler 489a6f09fe Updating documentation 2022-07-14 18:59:38 +10:00
sibowler 1c9a1e4e4b Spelling correction 2022-07-14 15:26:58 +10:00
sibowler 41b5be03a3 Adding notes to README 2022-07-14 11:41:23 +10:00
sibowler f85b25dea9 Fixing formatting/style errors 2022-07-14 08:59:54 +10:00