Commit Graph

491 Commits

Author SHA1 Message Date
rospogrigio
8e9fb82304 Introduced type_0a and type_0d devices autodetection 2020-09-10 10:59:58 +02:00
Pierre Ståhl
edc9debf83 Add config flow support for cover 2020-09-10 10:50:58 +02:00
Pierre Ståhl
ae64158da5 Use correct device class from pytuya 2020-09-10 10:42:44 +02:00
Pierre Ståhl
11763d90c5 Use generic Device in config flow 2020-09-09 23:06:28 +02:00
Pierre Ståhl
7efb3024fb Support arbitrary flow schemas for platforms 2020-09-09 23:05:42 +02:00
Pierre Ståhl
7018625f04 Add light support and clean up schemas 2020-09-09 22:59:37 +02:00
Pierre Ståhl
aa1ed67f94 Make energy attributes in switch optional 2020-09-09 22:12:44 +02:00
Pierre Ståhl
43a36f458c Remove pre-filled values from config_flow
Also improve relative module import by not hardcoding package path.
2020-09-08 20:11:43 +02:00
Pierre Ståhl
0600b2730b Make config flows general based on entities 2020-09-08 12:00:23 +02:00
rospogrigio
63d1ef26d4 Cleaned up pytuya code 2020-09-07 14:46:35 +02:00
rospogrigio
3d0505ac41 Removed unnecessary dps from covers; reduced cache timeout for covers and lights 2020-09-07 12:07:20 +02:00
rospogrigio
528143ddd6 Reduced cover logging 2020-09-07 09:10:31 +02:00
Pierre Ståhl
b8333affc5 Add support for config flows for switches 2020-09-06 10:29:39 +02:00
rospogrigio
550c29289a Merge branch 'fancygaphtrn-master' 2020-09-04 22:36:38 +02:00
rospogrigio
2f50050f8a Merge branch 'master' of https://github.com/fancygaphtrn/localtuya-homeassistant into fancygaphtrn-master 2020-09-04 22:36:16 +02:00
Andrew Meepos
0a20d2befa Minor tweaks 2020-09-04 11:18:28 -07:00
fancygaphtrn
8eacf15762 Added unique_id and available in line with upstream 2020-09-04 10:02:54 -04:00
fancygaphtrn
8ae6a71797 Updated to be inline with upstream 7.0.9 2020-09-04 10:01:07 -04:00
Andrew Meepos
adda5d6b20 Comment log command 2020-09-04 04:00:09 -07:00
Andrew Meepos
5399aebb35 Updated cover.py
Updated cover.py to support custom open and close commands for cover devices. The commands can be set in configuration.yaml.
2020-09-04 03:52:44 -07:00
rospogrigio
16d8d4dcf9 Introduced pytuya 7.0.9: Unified dev_type (device20 or device22) handling for all devices 2020-09-03 21:51:27 +02:00
rospogrigio
fdefd70043 Merge branch 'djtimca-feature-light' 2020-09-03 17:10:48 +02:00
rospogrigio
f6169c442a Appended subswitch id (i.e., dps) to the unique_id to allow different unique_ids for subswitches 2020-09-03 16:39:06 +02:00
Pierre Ståhl
a0bf22cce5 Prepand unique_id with local_
Avoid collisions with the tuya integration.
2020-09-03 12:04:52 +02:00
Tim Empringham
1d80202cab Updated template for configuration.yaml and removed redundant chanage to pytuya. 2020-09-02 15:26:46 -04:00
Tim Empringham
843f556fa5 Updated to support lights with dimmable and colour_temp settings 2020-09-02 15:21:58 -04:00
Pierre Ståhl
4335507804 Add support for unique_id and available 2020-09-02 12:46:09 +02:00
rospogrigio
98508a347a v.1.0.1: sending only dps actually used in request payload 2020-08-06 11:32:33 +02:00
rospogrigio
e16ba51319 Corrected manifest.json 2020-07-31 11:20:21 +02:00
rospogrigio
47409e9db7 Introduced SET_POSITION feature for covers 2020-07-31 11:14:26 +02:00
fancygaphtrn
87a0ac2363 Fan support 2020-06-30 07:23:14 -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
rospogrigio
db03bd3a8d Updated for HA 110.0 (CoverEntity and SwitchEntity instead of CoverDevice and SwitchDevice) 2020-05-21 07:55:35 +02:00
rospogrigio
071cdef230 Fixed and improved logging 2020-04-20 14:17:29 +02:00
rospogrigio
6e82ab0632 Introduced different support for switches with 20 and 22 bytes length for dev_id. Introduced name to set the entity_id and friendly_name for the frontend name. 2020-04-07 17:27:50 +02:00
rospogrigio
9b78f4a8e6 Corrected "cover" instead of "switch" in sample configuration 2020-03-23 11:19:43 +01:00
rospogrigio
30c466015c Introduced cover support 2020-03-23 10:53:41 +01:00
mileperhour
c23a147c6b Update switch.py 2019-09-03 22:29:29 +02:00
mileperhour
e0b153b5af Add files via upload
Fixed: no module named 'pytuya'
2019-07-08 22:42:31 +02:00
mileperhour
919c62d9b9 Add files via upload
0.92 breakout changes
2019-05-16 20:00:31 +02:00
mileperhour
fafa51ce67 Add files via upload 2019-04-02 18:22:53 +02:00