Commit Graph

482 Commits

Author SHA1 Message Date
rospogrigio c379645ea1 Introduced abort in config flow if all entities are deselected when editing a device 2023-01-10 22:37:15 +01:00
rospogrigio 0f3160f178 Fix for version not being set yet when calling _setup_dispatcher 2023-01-10 22:24:05 +01:00
rospogrigio 39ef76bafb Fixed tox issues 2023-01-10 22:24:05 +01:00
rospogrigio 3bf69d69f0 Fixed tox issues 2023-01-10 22:24:05 +01:00
rospogrigio c9d6bc521e Fixed sequence numbering on status update 2023-01-10 22:24:05 +01:00
rospogrigio edc6752ecf Fixed negotiation and sequence numbers for protocol 3.4 2023-01-10 22:24:05 +01:00
rospogrigio 960f07b6bb Fixed requested DPs for type_0d devices 2023-01-10 22:24:05 +01:00
rospogrigio a3914cc8ce Added debugging 2023-01-10 22:24:05 +01:00
rospogrigio 0fb619960c Fixed HEARTBEAT command 2023-01-10 22:24:05 +01:00
rospogrigio c6a9460d06 Introduced 3.4 protocol option in config flow 2023-01-10 22:24:05 +01:00
rospogrigio 957cf25dd0 Introduced pytuya with support for 3.4 protocol 2023-01-10 22:24:05 +01:00
rospogrigio 33e0033b0a Introduced the possibility to select which devices should have the pytuya debug enabled 2023-01-10 18:18:35 +01:00
rospogrigio d8acf60076 Fix for version not being set yet when calling _setup_dispatcher 2023-01-10 11:31:37 +01:00
rospogrigio f990e848a5 Fixed tox issues 2023-01-09 22:48:10 +00: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
Ovidiu Nitan 494d334e9e Allow calling localtuya.set_dp service by non-admin users 2022-11-20 12:46:28 +02: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 ee25098f63 Update manifest.json 2022-10-11 11:49:04 +02:00
rospogrigio 6500f58e79 Merge branch 'master' into fix_restart_behaviour 2022-10-04 11:35:58 +02:00
DeeSe 85a1ae069c Lint fix 2022-09-29 14:05:07 +02:00
sibowler f7ce9be5f6 Changes to make Passive DPS entites a configurable item 2022-09-10 06:40:53 +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 21e6aade35 Edited manifest.json to 4.1.0 2022-09-05 10:16:11 +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
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 1c9a1e4e4b Spelling correction 2022-07-14 15:26:58 +10:00
sibowler f85b25dea9 Fixing formatting/style errors 2022-07-14 08:59:54 +10:00
sibowler 06968d8a9c Rebase merge fix. Earlier commit also included changes for manually specifying DPS where entity detection failed, restoring DPS values on reconnect and also supporting devices which don't report DPS status until it has been set once. 2022-07-14 06:58:00 +10:00
sibowler 0fe550576a Fix NumberEntity HA changes and add step control 2022-07-14 06:53:13 +10:00
sibowler 364569bad8 Rebase from upstream 2022-07-14 06:46:36 +10:00
DeeSe f06b8ccb49 Added DPS value type configuration 2022-07-07 14:07:19 +02:00