Commit graph

635 commits

Author SHA1 Message Date
Markus Lanthaler
96c12fdd10
Update tuya-device-sharing-sdk to version 0.2.1 (#130333) 2024-11-11 20:40:37 +01:00
murfy76
48e7fed901
Add voc and formaldehyde to Tuya CO2 Detector (#130119) 2024-11-08 22:03:01 +01:00
Kunal Aggarwal
4dbf3359c1
Adding "peaceful" status as on value to Tuya Presence Sensor (#129925) 2024-11-06 11:43:41 +01:00
Kunal Aggarwal
5eadfcc524
Adding new on values for Tuya Presence Detection Sensor (#129801) 2024-11-05 11:52:38 +01:00
G Johansson
cdfec7ebb4
Implement new state property for alarm_control_panel which is using an enum (#126283)
* Alarm state from enum

* Fixes

* Set final

* Fix rebase

* Test const

* Fix breaking version

* Fix other for alarm_control_panel

* Fix integrations

* More

* More

* More

* More

* Fix zha

* Replace _attr_state

* Fix alarm_control_panel

* Fix tests

* Fixes

* Mods

* Change some

* More

* More

* More

* Tests

* Last tests

* Return enum

* Fix zha

* Remove not needed check

* Fix wording

* Fix homekit

* Mod prometheus

* Fix mypy

* Fix homekit

* Fix ifttt
2024-10-21 22:54:27 +02:00
epenet
5a2830a654
Use new reauth helpers in tuya (#128766) 2024-10-19 14:27:11 +02:00
azerty9971
d8d000f279
Fix wrong DPTypes returned by Tuya's cloud (#127860)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-09 12:24:09 +02:00
Tal Atlas
7e41b40441
Update Tuya integration with target distance (#126700)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-09-25 08:47:53 +02:00
epenet
8785a9869e
Rename tuya base entity module (#126180) 2024-09-18 11:04:01 +02:00
Dmitry Krasnoukhov
bd6b5568eb
Extend hjjcy device category in Tuya integration (#124854)
* Extend hjjcy device category in Tuya integration

* Better AQI level names
2024-09-01 17:50:53 +02:00
epenet
51a5a78eb5
Standardize reauth step variable name in config flows (#124760) 2024-08-28 13:01:00 +02:00
G Johansson
ca4c617d4b
Add TURN_OFF/TURN_ON feature flags for fan (#121447) 2024-07-19 11:35:24 +02:00
Franck Nijhof
1b6f880a27
Add model_id to Tuya devices, mark services correctly (#122043) 2024-07-17 00:09:18 +02:00
Jetsada Machom
959298d121
Add Tuya Smart Gardening system (#118335) 2024-07-07 16:34:30 +02:00
Lucas Mindêllo de Andrade
3d7a47fb6b
Tuya curtain robot stuck in open state (#118444) 2024-06-22 17:22:46 +02:00
vmonkey
56d5e41b28
Add switches to Tuya dehumidifier: anion, filter_reset, and child_lock (#105200)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-06-22 13:41:45 +02:00
cRemE-fReSh
f8c1710753
Add Tuya pool heating pumps (#118415)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-22 12:42:32 +02:00
Michael Oborne
1bbfe7854f
Add Tuya reverse_energy_total and total_power sensors (#114801)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-06-22 11:58:54 +02:00
Marcos A L M Macedo
03d8f4162e
Add sensor total production energy for Tuya (#113565) 2024-06-22 11:58:36 +02:00
Jan Gaedicke
5e71eb4e0d
Add support for VESKA-micro-inverter (VK-800) to tuya integration (#115996) 2024-06-22 11:28:59 +02:00
neturmel
c9ddabaead
Support tuya diivoo dual zone irrigationkit (ggq) (#115090)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2024-06-21 13:28:20 +02:00
Igor Santos
a52a2383c5
Tuya's light POS actually means "opposite state" (#119948) 2024-06-21 12:22:33 +02:00
azerty9971
75fa0b91d8
Add support for Tuya energy data for WKCZ devices (#119635)
Add support for energy sensors for  WKCZ devices
2024-06-17 10:59:36 +02:00
Douglas Krahmer
e6df0be072
Add support for Tuya non-standard contact sensors (#115557)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-06-11 18:09:57 +02:00
Sebastian Schneider
6df7c34aa2
Add switch to Tuya thermostat: child_lock (#113052) 2024-06-11 15:22:49 +02:00
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