Commit graph

29 commits

Author SHA1 Message Date
Jetsada Machom
959298d121
Add Tuya Smart Gardening system (#118335) 2024-07-07 16:34:30 +02:00
Marcos A L M Macedo
03d8f4162e
Add sensor total production energy for Tuya (#113565) 2024-06-22 11:58:36 +02:00
Igor Santos
a52a2383c5
Tuya's light POS actually means "opposite state" (#119948) 2024-06-21 12:22:33 +02:00
Franck Nijhof
945aff6050
Fix Tuya reauth_successful translation string (#109659) 2024-02-04 23:21:18 +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
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
Jan-Philipp Benecke
af6ad6be41
Remove deprecated vacuum services from tuya (#107896) 2024-01-16 08:51:57 +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
Robert Resch
bb90c1f168
Fix multilevel reference translations (#102338) 2023-10-20 08:12:53 +02:00
Joost Lekkerkerker
c78c2b7c3b
Add translation keys to Tuya cover (#98040) 2023-08-08 18:02:47 +02:00
Joost Lekkerkerker
efbd82b5fb
Add entity translations to Tuya (#96842) 2023-07-19 12:43:15 +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
Jan Bouwhuis
c26dc0940c
Use common translations for On, Off, Open and Closed (#95779)
* Use common translations for On and Off

* Used common translations for open and closed

* Update homeassistant/components/sensibo/strings.json

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Only update state translations

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-04 13:52:01 +02:00
Franck Nijhof
fc93521e02
Migrate Tuya translations (#83105)
* Migrate Tuya translations

* Don't use DPCode as translation key
2022-12-02 11:20:17 +01:00
Paulus Schoutsen
34544da449
Reinstate asking for country in Tuya flow (#57142) 2021-10-05 22:32:48 +02:00
Joakim Sørensen
745298408a
Rewrite tuya config flow (#57043)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-10-04 08:27:24 -07: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
J. Nick Koston
d5e39e8748
Remove redundant names from config flow titles (#50380) 2021-05-10 22:14:33 -07:00
Brynley McDonald
5c6744d978
Fix typo in tuya config_flow (#49517) 2021-04-21 12:21:32 +02:00
ollo69
3c26235e78
Bump tuyaha to 0.0.10 and fix set temperature issues (#45732) 2021-02-15 16:20:45 -10:00
Alex Szlavik
fca8841e34
Retry tuya setup on auth rate limiting (#44001)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-12-08 11:32:48 +01:00
ollo69
ebc26c70b9
Remove Tuya climate ext. temperature entity option (#42546) 2020-11-09 22:57:04 +01:00
ollo69
c4b3cf0788
Update tuyaha to 0.0.8 and adapt code (#41375) 2020-10-27 20:26:18 -05:00
SNoof85
cf5c99d2a9
Use reference strings in Tuya (#41236) 2020-10-05 12:49:09 +02:00
ollo69
f4e4ea10e5
Minor Tuya Fix (#35497) 2020-05-11 08:45:12 -04:00
ollo69
b3ee54b124
Add config flow for Tuya (#35422)
* Added Tuya config flow

* Added test config_flow

* Fixed log error message

* Add test requirements

* Lint Fix

* Fix Black formatting

* Added pylint directive

Added pylint:disable=unused-import in config_flow.py

* Implementation requested changes

* Update CodeOwners

* Removed device registry cleanup

* Force checks

* Force checks

* Fix implemetation

- Set config schema "deprecated"
- Removed async from update_callback

* Updating test

* Fix formatting

* Config Flow test fix

- mock out async_setup and async_setup_entry

* Fix formatting
2020-05-10 22:01:00 -05:00