Commit Graph

66 Commits

Author SHA1 Message Date
Pierre Ståhl
16e4e9407f Reload integration if config entry changes
This makes changes under options apply without restart.
2020-09-21 00:46:26 +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
6f14df2d74 Replaced some hardcoded strings with constants and config_entries 2020-09-18 14:45:51 +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
b0ee281894 Merge branch 'master' into pytuya_refactoring 2020-09-15 12:41:52 +02:00
Pierre Ståhl
9493f17de6 Forward config entry only to used platforms 2020-09-15 12:29:07 +02:00
rospogrigio
386d59b497 config_entry forwarded only to proper platform; DOMAIN imported from component 2020-09-15 10:59:06 +02:00
rospogrigio
ce2461df2b Merge branch 'master' into pytuya_refactoring 2020-09-14 23:32:55 +02:00
Pierre Ståhl
ae64158da5 Use correct device class from pytuya 2020-09-10 10:42:44 +02:00
Pierre Ståhl
7018625f04 Add light support and clean up schemas 2020-09-09 22:59:37 +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
mileperhour
919c62d9b9 Add files via upload
0.92 breakout changes
2019-05-16 20:00:31 +02:00