Commit graph

610 commits

Author SHA1 Message Date
G Johansson
2a4f7439a2
Fix Alarm control panel not require code in several integrations (#118961) 2024-06-06 13:21:30 +02:00
Marc Mueller
44049c34f9
Use PEP 695 type alias for ConfigEntry types (#117632) 2024-05-17 15:42:58 +02:00
Michael
12759b50cc
Store runtime data inside the config entry in Tuya (#116822) 2024-05-09 00:04:26 +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
Max Holland
815d120645
Add support for Tuya dimmer module (#113741) 2024-03-18 16:59:49 +01:00
Joost Lekkerkerker
05172d8e4d
Improve loops and lists (#113269)
* Enable PERF

* Enable PERF rule

* Enable PERF rule

* Don't enable flag yet
2024-03-14 10:22:20 +01:00
Joost Lekkerkerker
96cebdf096
Improve lists in integrations [T-U] (#113243) 2024-03-13 17:54:46 +01:00
Joost Lekkerkerker
b4dfe455cb
Remove entity description mixin in Tuya (#112959) 2024-03-11 11:54:46 +01:00
Marc Mueller
062cc4bfce
Add empty line after module docstring [t-v] (#112705) 2024-03-08 10:35:23 -05:00
Erik Montnemery
770e48d512
Simplify color mode logic in Tuya light (#110327)
* Simplify color mode logic in Tuya light

* Remove exclusion from LightEntity.__should_report_light_issue

* Fix test
2024-03-06 18:28:12 +01:00
Joost Lekkerkerker
8946cfc1e9
Add icon translations to Tuya (#112326) 2024-03-06 12:35:47 +01:00
Erik Montnemery
b0ed8c4961
Migrate integrations s-t to generic flowhandler (#111865) 2024-02-29 22:16:14 +01:00
Marc Mueller
5f8ef37f2d
Update pylint to 3.0.4 (#111229)
* Update pylint to 3.0.4

* Use yield from

* Remove unnecessary pylint disable comments
2024-02-23 23:46:00 +01:00
Joost Lekkerkerker
730d805876
Enable SIM114 ruff rule (#111125) 2024-02-23 13:21:59 +01:00
Franck Nijhof
945aff6050
Fix Tuya reauth_successful translation string (#109659) 2024-02-04 23:21:18 +01:00
Franck Nijhof
10d3b10da4
Improve Tuya token/reauth handling (#109653) 2024-02-04 22:56:22 +01:00
Franck Nijhof
b553bb71e6
Fix Tuya QR code expiry, use native QR selector (#109615)
* Fix Tuya QR code expiry, use native QR selector

* Adjust tests
2024-02-04 18:58:09 +01:00
G Johansson
6e5a085413
Add new climate feature flags to tuya (#109434) 2024-02-04 11:40:37 +01: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
DellanX
04bc8e09a5
Default tuya climate temperature unit to system unit (#108050) 2024-01-16 13:40:11 +01:00
Jan-Philipp Benecke
af6ad6be41
Remove deprecated vacuum services from tuya (#107896) 2024-01-16 08:51:57 +01:00
Grant
371ee1aa8e
Add Tyua Product Category "dsd" for Filament Light (#106709)
* Add Product Category "dsd" support to tuya integration for Filament Lights

* remove unnecessary color_temp and color_data arguments

---------

Co-authored-by: Jan Čermák <sairon@users.noreply.github.com>
2024-01-05 13:36:57 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker
a82410d5e9
Deduplicate constants E-Z (#105657) 2023-12-13 17:05:37 +01:00
Joost Lekkerkerker
e4453ace88
Add country code constant (#105640) 2023-12-13 16:50:46 +01:00
Sebastian YEPES
a3bad54583
Add Tuya Smart Water Timer (#95053)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-29 09:48:45 +01:00
cronjefourie
03caa21a51
Add additional sensors for Tuya DIN (#98752)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-25 15:47:03 +01:00
Franck Nijhof
b323295aa1
Clean up old config entry migration from Tuya (#103026) 2023-10-29 19:18:31 +01:00
Franck Nijhof
59f238b9a7
Clean up two year old entity migration from Tuya (#103003) 2023-10-29 14:47:24 +01:00
Robert Resch
bb90c1f168
Fix multilevel reference translations (#102338) 2023-10-20 08:12:53 +02:00
Ville Skyttä
b51c0f6ddc
Remove unnnecessary pylint configs from components [s-z]* (#98925) 2023-08-24 01:25:32 +02: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
Joost Lekkerkerker
07a701551b
Add missing translation key in Tuya (#98122) 2023-08-10 18:04:24 +02:00
Joost Lekkerkerker
c78c2b7c3b
Add translation keys to Tuya cover (#98040) 2023-08-08 18:02:47 +02:00
rale
54d7ba72ee
Add second led control for carro smart fan (#94195)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-23 23:20:29 +02:00
Franck Nijhof
30058297cf
Migrate backported StrEnum to built-in StrEnum (#97101) 2023-07-23 23:19:24 +02:00
Marc Mueller
77f38e33e5
Import names from typing instead of typing_extensions [3.11] (#97065) 2023-07-22 17:03:44 -05:00
Dmitry Vasilyev
effa90272d
Support Tuya Air Conditioner Mate (WiFi) - Smart IR socket with power monitoring (#95027)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-20 11:16:38 +02:00
Joost Lekkerkerker
efbd82b5fb
Add entity translations to Tuya (#96842) 2023-07-19 12:43:15 +02:00
Simon Smith
46675560d2
Fix smoke alarm detection in tuya (#96475) 2023-07-18 21:18:58 +02:00
Teesit E
701c8a3768
Add Tuya Soil sensor (#96819)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-07-18 17:51:18 +02:00
Joost Lekkerkerker
1422a4f8c6
Clean up entity descriptions in Tuya (#96847) 2023-07-18 17:41:33 +02:00
c0ffeeca7
43842e243d
Rename 'life' to 'lifetime' in Tuya (#96813) 2023-07-18 09:54:07 +02:00
Jan Bouwhuis
3b32dcb613
Revert translation reference for Tuya motion_sensitivity (#96536) 2023-07-14 12:28:19 +02:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Erik Montnemery
6aa2ede6c7
Correct issues raised when calling deprecated vacuum services (#96295) 2023-07-11 08:45:45 +02:00
Erik Montnemery
1e4f43452c
Warn when vacuum.turn_on or turn_off is called on Tuya vacuums (#95848)
Co-authored-by: Hmmbob <33529490+hmmbob@users.noreply.github.com>
2023-07-07 19:00:06 +02:00
Joost Lekkerkerker
45ae6b3475
Add explicit device naming for Tuya sensors (#95944) 2023-07-06 10:19:42 -04:00
Erik Montnemery
6964a2112a
Revert "Remove unsupported services from tuya vacuum" (#95845)
Revert "Remove unsupported services from tuya vacuum (#95790)"

This reverts commit 5712d12c42.
2023-07-04 14:42:44 +02:00