Commit graph

36 commits

Author SHA1 Message Date
Franck Nijhof
1b6f880a27
Add model_id to Tuya devices, mark services correctly (#122043) 2024-07-17 00:09:18 +02:00
Sid
9cbed10372
Enable Ruff PYI041 (#115229) 2024-04-08 09:29:05 -10:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 (#112690)
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
Franck Nijhof
82e1ed43f8
Migrate Tuya integration to new sharing SDK (#109155)
* Scan QR code to log in And Migrate Tuya integration to new sharing SDK (#104767)

* Remove non-opt-in/out reporting

* Improve setup, fix unload

* Cleanup token listner, remove logging of sensitive data

* Collection of fixes after extensive testing

* Tests happy user config flow path

* Test unhappy paths

* Add reauth

* Fix translation key

* Prettier manifest

* Ruff format

* Cleanup of const

* Process review comments

* Adjust update token handling

---------

Co-authored-by: melo <411787243@qq.com>
2024-01-30 21:22:22 -05:00
Erik Montnemery
045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] (#97065) 2023-07-22 17:03:44 -05:00
Marc Mueller
ea4e2ab4aa
Add Self typing (4) [mypy 1.0] (#87601) 2023-02-06 22:30:22 -06:00
Marc Mueller
67e339c67b
Fix implicit Optional [t-z] (#76722) 2022-08-13 18:47:17 +02:00
Franck Nijhof
8d6925b3ab
Migrate Tuya to new entity naming style (#74975) 2022-07-11 09:17:54 -07:00
starkillerOG
d418df5f75
Tuya correct scaling (#69348) 2022-04-27 01:49:11 +02:00
Sascha Sander
dbc445c2fa
Fix scaling of numeric Tuya values (#66644)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-16 14:33:08 +01:00
Franck Nijhof
fa09cf663e
Update black to 22.1.0 (#65788) 2022-02-05 14:19:37 +01:00
Franck Nijhof
445c47c7a0
Guard against empty Tuya data types (#65571) 2022-02-03 21:46:05 +01:00
Franck Nijhof
4925cf5aff
Handle Tuya sendings strings instead of numeric values (#65009) 2022-01-26 14:05:01 -08:00
Franck Nijhof
db979fef6c
Refactor Tuya DPCode and data type handling (#64707) 2022-01-23 09:01:10 +01:00
Dmitry Vasilyev
77ccf46c9b
Updated the support of Tuya Circuit Breaker 'dlq' (#63519)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-06 12:01:16 +01:00
Franck Nijhof
32d1e28dab
Clean up Tuya loggers (#62999) 2021-12-29 15:12:27 +01:00
Oleksandr Kapshuk
95286791fe
Add tuya zndb device category (#59477) 2021-12-01 13:17:02 +01:00
Kamil Doległo
a7c44d89e1
Fix Tuya integration for climate devices (#60229) 2021-11-23 23:33:36 +01:00
PlusPlus-ua
a211b8ca8f
Bugfix in Tuya Number value scaling (#59903) 2021-11-18 16:53:34 +01:00
Franck Nijhof
b413f7434f
Add support for min/max dimmer brightness in Tuya (#58165) 2021-10-22 20:28:16 +02:00
Franck Nijhof
843296c1a3
Add product ID to model for Tuya (#58235) 2021-10-22 19:39:31 +02:00
Franck Nijhof
be73b21f81
Refactor Tuya light platform (#57980) 2021-10-18 20:35:01 +02:00
Franck Nijhof
b97d5a703c
Renamed variables in Tuya (#57759) 2021-10-15 11:33:30 +02:00
Franck Nijhof
6e6313272d
Move Tuya value scaling into IntegerTypeData (#57757) 2021-10-15 10:33:20 +02:00
Franck Nijhof
f6c6ec3578
Centralize entity naming for Tuya entities (#57755) 2021-10-15 10:07:25 +02:00
Franck Nijhof
b220ab6e91
Prettify Tuya entity class names (#57629) 2021-10-13 23:30:25 +02:00
Franck Nijhof
b854a2537f
Use classmethod in Tuya TypeData classes (#57627) 2021-10-13 22:58:10 +02:00
Franck Nijhof
6a72af63c2
Refactor Tuya climate platform (#57609) 2021-10-13 20:29:11 +02:00
Franck Nijhof
c943677675
Tweaks to Tuya base entity (#57526) 2021-10-12 12:25:03 +02:00
Franck Nijhof
d44e323e95
Move Tuya remap method from base to light entity class (#57527) 2021-10-12 11:34:18 +02:00
Franck Nijhof
580b5fb812
Entity attributes cleanup in Tuya base entity (#57510) 2021-10-11 20:37:18 -07:00
Franck Nijhof
80a04124a2
Small code styling tweaks for Tuya (#57102) 2021-10-05 12:59:51 +02:00
Franck Nijhof
2059cbacbd
Remove Python shebang line from Tuya integration files (#57103) 2021-10-05 11:12:55 +02:00
Oliver Ou
d3b1ccb668
Tuya v2 Integration Release (#56820)
Co-authored-by: 乾启 <18442047+tsutsuku@users.noreply.github.com>
Co-authored-by: dengweijun <dengweijunben@gmail.com>
Co-authored-by: dengweijun <mengzi.deng@tuya.com>
Co-authored-by: erchuan <jie.zheng@tuya.com>
Co-authored-by: erchuan <erchuan365@outlook.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-30 12:02:56 +02:00