Commit graph

60 commits

Author SHA1 Message Date
epenet
8785a9869e
Rename tuya base entity module (#126180) 2024-09-18 11:04:01 +02:00
Michael
12759b50cc
Store runtime data inside the config entry in Tuya (#116822) 2024-05-09 00:04:26 +02: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
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
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
e6c4f98354
Add explicit device name to Tuya (#95511)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-06-29 11:24:59 +02:00
Franck Nijhof
886dea59c3
Fix HAVCMode typing in Tuya (#94631) 2023-06-15 14:05:08 +02:00
epenet
3a02c627fa
Adjust set_humidity type hints (#85176) 2023-01-05 10:26:49 +01:00
o951753o
240b4078cd
Fix typo in Tuya climate (#85185) 2023-01-05 10:22:22 +01:00
Franck Nijhof
8819634b61
String formatting and max line length - Part 6 (#84525) 2022-12-24 13:19:51 +01:00
epenet
c7a6b5983f
Use UnitOfTemperature in climate entities [t-z] (#83129) 2022-12-05 10:18:57 +01:00
Rogelio Orts
bb517c269e
Add unknown tuya modes as presets (#82056)
Fixes https://github.com/home-assistant/core/issues/81681
fixes undefined
2022-11-24 16:28:43 +01:00
epenet
da2efde354
Set alarm and climate supported features default (#82247) 2022-11-17 10:21:55 +01:00
epenet
6affd9c6fb
Import climate constants from root [m-z] (#78178) 2022-09-10 23:42:28 +02:00
epenet
e688f6b315
Use climate enums in tuya (#70747) 2022-04-26 08:39:41 +02:00
epenet
d22a679262
Adjust hvac_modes type hint in ClimateEntity (#70657)
* Adjust hvac_modes type hint in ClimateEntity

* Adjust tuya
2022-04-25 13:15:08 +02:00
epenet
bbf19582bb
Use EntityFeature enum in components (t**) (#69457) 2022-04-07 14:07:27 +02:00
Sascha Sander
9389d1e561
Correct current temperature for tuya thermostats (#66715)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-02-18 15:00:49 +01:00
Franck Nijhof
39cf250a8e
Add current temp fallback in Tuya climate (#66664) 2022-02-16 17:41:43 +01:00
Franck Nijhof
5613a80d28
Add Heater (rs) support Tuya Climate (#65707) 2022-02-05 12:09:29 +01:00
Franck Nijhof
b7007b364a
Add TRV (wkf) support to Tuya (#65649) 2022-02-04 12:34:15 +01:00
Franck Nijhof
3e0856ccac
Fix missing windspeed in Tuya climate (#65511) 2022-02-03 14:00:03 +01:00
Franck Nijhof
db979fef6c
Refactor Tuya DPCode and data type handling (#64707) 2022-01-23 09:01:10 +01:00
Franck Nijhof
d0ddf3ce8c
Fix Tuya climate c_f DP not being a string (#63680) 2022-01-09 21:26:28 -08:00
Franck Nijhof
17536df7ea
Fix Tuya data type information in climate (#62994) 2021-12-29 15:34:56 +01:00
Franck Nijhof
bd98fc231d
Gracefully handle unknown HVAC mode in Tuya (#62984)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-29 14:52:08 +01:00
Franck Nijhof
8fb84270d5
Fix Tuya back scaling in Climate and Humidifer entities (#59909) 2021-11-18 15:21:27 -08:00
Franck Nijhof
bc9b134c5d
Clean up self references from Tuya climate platform constructor (#58051) 2021-10-19 21:04:46 +02:00
Franck Nijhof
74d72957b2
Add support for 'freeze' mode in Tuya thermostats (wk) (#57851) 2021-10-16 22:26:00 +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
b220ab6e91
Prettify Tuya entity class names (#57629) 2021-10-13 23:30:25 +02:00
Franck Nijhof
6a72af63c2
Refactor Tuya climate platform (#57609) 2021-10-13 20:29:11 +02:00
Franck Nijhof
a4357fdb95
Replace all Tuya device property constants with an Enum (#57559) 2021-10-12 10:36:14 -07:00
Franck Nijhof
8ec38ef034
Refactor Tuya device handling (#57545)
* Refactor Tuya device handling

* Tweak
2021-10-12 16:49:46 +02:00
Franck Nijhof
80a04124a2
Small code styling tweaks for Tuya (#57102) 2021-10-05 12:59:51 +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
ollo69
3c26235e78
Bump tuyaha to 0.0.10 and fix set temperature issues (#45732) 2021-02-15 16:20:45 -10:00
tkdrob
a5a45f29e2
Cleanup unused loggers (#46510) 2021-02-14 13:46:58 +01:00
ollo69
08e7247201
Remove tuya/climate precision property override (#44148) 2021-01-26 22:49:42 +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
Franck Nijhof
1c2ebdf307
Upgrade black to 20.8b1 (#39287) 2020-08-27 13:56:20 +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
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity (#34591) 2020-04-25 18:04:03 +02:00
J. Nick Koston
a5b98b40ac
Resolve delays with tuya devices (#34512) 2020-04-21 20:29:42 -07:00