Sefi Ninio
|
bfba2d7f72
|
fix deprecated device_state_attributes
Replace `device_state_attributes` with `extra_state_attributes`
This fixes #662
|
2021-12-16 18:10:49 +02: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 |
|
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
|
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 |
|
rospogrigio
|
ff79bd04cd
|
Fixed postlund's comments. Unified open_close config options
|
2020-10-02 10:08:52 +02:00 |
|
Pierre Ståhl
|
e673340229
|
Fix missing attributes bug
|
2020-09-28 07:13:30 +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
|
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
|
dd48fc00f5
|
Make light entity inherit from LocalTuyaEntity
|
2020-09-21 23:56:54 +02:00 |
|
rospogrigio
|
c266e0f904
|
add_request_dps moved into prepare_setup_entities, plus code cleaning
|
2020-09-19 15:59:59 +02:00 |
|
rospogrigio
|
6700e02c52
|
set_dpsUsed turned into add_dps_to_request ; used it when setting up entities
|
2020-09-19 15:59:59 +02:00 |
|
rospogrigio
|
1a9f7382fc
|
LocaltuyaCover now inherits from LocalTuyaEntity
|
2020-09-18 14:45:51 +02:00 |
|
Pierre Ståhl
|
9973c5fdcb
|
Pass config entry to LocalTuyaEntity
|
2020-09-18 09:14:12 +02:00 |
|
Pierre Ståhl
|
bd98b7cd93
|
Add base entity class LocalTuyaEntity
All platforms will inherit from this class in the end, but this commit
starts with switch only.
|
2020-09-18 09:14:12 +02:00 |
|
rospogrigio
|
c99cc1f077
|
Removed unneeded friendly_name fields
|
2020-09-15 23:31:33 +02:00 |
|
rospogrigio
|
b3006a7c68
|
Merge branch 'pytuya_refactoring' into physical_device
|
2020-09-15 11:28:36 +02:00 |
|
rospogrigio
|
386d59b497
|
config_entry forwarded only to proper platform; DOMAIN imported from component
|
2020-09-15 10:59:06 +02:00 |
|
rospogrigio
|
6c68cdcbcc
|
Merge branch 'pytuya_refactoring' into physical_device
|
2020-09-15 00:15:46 +02:00 |
|
rospogrigio
|
ce2461df2b
|
Merge branch 'master' into pytuya_refactoring
|
2020-09-14 23:32:55 +02:00 |
|
rospogrigio
|
47b92b0178
|
Fixes suggested in PR #11
|
2020-09-13 14:03:08 +02:00 |
|
rospogrigio
|
c008339f43
|
First working implementation of Devices
|
2020-09-11 14:48:49 +02:00 |
|
rospogrigio
|
9a45eb8398
|
Fixed conflicts
|
2020-09-11 11:55:43 +02:00 |
|
rospogrigio
|
9c3786b7a6
|
Merge remote-tracking branch 'origin/pytuya_refactoring' into physical_device
|
2020-09-11 11:54:04 +02:00 |
|
rospogrigio
|
184199ef87
|
Pytuya library refactoring and code cleaning
|
2020-09-11 11:46:01 +02:00 |
|
Pierre Ståhl
|
ae64158da5
|
Use correct device class from pytuya
|
2020-09-10 10:42:44 +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
|
0600b2730b
|
Make config flows general based on entities
|
2020-09-08 12:00:23 +02:00 |
|
Pierre Ståhl
|
b8333affc5
|
Add support for config flows for switches
|
2020-09-06 10:29:39 +02: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
|
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 |
|
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
|
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
|
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
|
fafa51ce67
|
Add files via upload
|
2019-04-02 18:22:53 +02:00 |
|