Commit graph

631 commits

Author SHA1 Message Date
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
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
Erik Montnemery
c84dacf2fc
Update tuya vacuum supported features (#95832) 2023-07-04 13:19:16 +02:00
Erik Montnemery
5712d12c42
Remove unsupported services from tuya vacuum (#95790) 2023-07-03 18:37:18 +02: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
Marc Mueller
86792fcc2f
Update mypy to 1.4.0 (#94987) 2023-06-21 16:12:51 +02:00
Jan Bouwhuis
c47543c9dd
Add current_humidity attribute to tuya (de)humidifiers (#94953)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-06-21 11:28:12 +02:00
Franck Nijhof
886dea59c3
Fix HAVCMode typing in Tuya (#94631) 2023-06-15 14:05:08 +02:00
Michael Benz
0828cc0e44
Add light entity to Tuya Air Purifiers (#92861) 2023-05-17 20:16:54 +01:00
BNolet
6fbdcac323
Fix setting color + brightness of Tuya lights (#88470)
* Check if changing TO a color mode

Changing brightness alone does not change work mode, but changing brightness with a color value will keep the light in white mode. 

By verifying the new state has color or not, rather than the existing state being in color work mode, the light will change to color correctly.

Tuya interprets HSV as including the brightness in the (v) value (which is generally what that's used for when setting HSV values). The brightness value given by Home Assistant is still used in this case.

* Fix brightness-only turning colour mode to white

This will take into account the case where brightness is the only parameter for both the case of colour mode and white mode.

Tests passed after this change:

* Brightness only (colour mode) 
* Brightness only (white mode) 
* Colour only (colour mode) 
* Colour only (white mode) 
* Colour temp only (colour mode) 
* Colour temp only (white mode) 
* Colour + brightness (colour mode) 
* Colour + brightness (white mode) 
* Colour temp + brightness (colour mode) 
* Colour temp + brightness (white mode) 

* Fix code formatting
2023-03-28 12:20:54 +02:00
epenet
f01f5e1d2a
Improve type hints in tuya vacuum (#90041) 2023-03-21 13:25:19 +01:00
dougiteixeira
470b0b5471
Adjust Tuya entity naming (#89616)
Fix entity name
2023-03-13 09:23:04 +01:00
Franck Nijhof
d9fc932253
Fix Tuya Python 3.11 compatibility issue (#89189) 2023-03-05 22:19:40 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
b0b1d8143f
Sort manifests 10 (#87031) 2023-02-08 20:41:50 +01:00
Marc Mueller
ea4e2ab4aa
Add Self typing (4) [mypy 1.0] (#87601) 2023-02-06 22:30:22 -06:00
Franck Nijhof
939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Franck Nijhof
c56832bb2c
Enable Ruff SIM300 (#86793) 2023-01-30 11:03:23 +01:00
GitHub Action
b82ecfdd28 [ci skip] Translation update 2023-01-30 00:21:11 +00:00
hpirila
6c5f9c6fcb
Add sous vide start functionality (#84447) 2023-01-17 11:42:04 +01:00
Andre Basche
abc8b891be
Add some sensors and controls to tuya dehumidifier (#85380)
fixes undefined
2023-01-16 22:58:01 +01:00
Rodrigo Matias
612f93d636
Add switch to Tuya product category wsdcg (#85762) 2023-01-16 22:05:53 +01:00
Thierry Ygé
b5956eb8dd
Add Tuya sensor for Smart IR remote device (#85955) 2023-01-16 22:04:26 +01:00
GitHub Action
b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action
77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
GitHub Action
dffc913f9e [ci skip] Translation update 2023-01-14 00:22:57 +00:00
Franck Nijhof
9d45071e3f
Add EasyBaby support to Tuya (#85298) 2023-01-06 14:42:09 +01: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