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 and Erik Montnemery
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
GitHub Action
5c7120aa36
[ci skip] Translation update
2023-01-01 00:25:49 +00:00
GitHub Action
b3ab0a0199
[ci skip] Translation update
2022-12-29 00:23:20 +00:00
epenet
4c8e3aa7c4
Remove lumen from Illuminance units ( #84386 )
2022-12-27 14:25:47 +01:00
Franck Nijhof
8819634b61
String formatting and max line length - Part 6 ( #84525 )
2022-12-24 13:19:51 +01:00
epenet
fba13dcc90
Use UnitOfTime in integrations (t-z) ( #84291 )
2022-12-20 12:30:14 +01:00
epenet
cce438951d
Use new unit enumerators in tuya ( #84229 )
2022-12-19 13:11:48 +01:00
epenet
ebdf9a8658
Use UnitOfEnergy in integrations (o-z) ( #84221 )
2022-12-19 10:58:37 +01:00
epenet
0184aadb09
Use UnitOfElectricPotential in integrations ( #84044 )
2022-12-15 13:59:21 +01:00
GitHub Action
cfa08c5229
[ci skip] Translation update
2022-12-15 00:24:38 +00:00
epenet
52d4a358a0
Use UnitOfPower in integrations [s-z] ( #83826 )
2022-12-12 12:20:16 +01:00
GitHub Action
6745f0c56a
[ci skip] Translation update
2022-12-12 00:24:56 +00:00
GitHub Action
f19a1147fe
[ci skip] Translation update
2022-12-11 00:26:24 +00:00
GitHub Action
1e0345a377
[ci skip] Translation update
2022-12-10 00:21:35 +00:00
epenet
7c3ca38eb7
Use UnitOfElectricCurrent in integrations ( #83622 )
2022-12-09 10:51:26 +01:00
GitHub Action
f25017313a
[ci skip] Translation update
2022-12-09 00:24:29 +00:00
GitHub Action
3de8185506
[ci skip] Translation update
2022-12-08 00:21:50 +00:00
GitHub Action
1f3e5fb4fc
[ci skip] Translation update
2022-12-07 00:24:08 +00:00
GitHub Action
3ab9a14ce7
[ci skip] Translation update
2022-12-06 00:21:31 +00:00
Michał Ajduk
ff7a70d31b
Fix Tuya number native value raw return ( #83333 )
...
fixes undefined
2022-12-05 16:55:21 +01:00
epenet
c7a6b5983f
Use UnitOfTemperature in climate entities [t-z] ( #83129 )
2022-12-05 10:18:57 +01:00
GitHub Action
5f9290e572
[ci skip] Translation update
2022-12-05 00:23:07 +00:00
GitHub Action
a1eab7f842
[ci skip] Translation update
2022-12-04 00:23:06 +00:00
GitHub Action
03154e1d83
[ci skip] Translation update
2022-12-03 00:21:50 +00: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
yeahme49 and Franck Nijhof
fb57785ca6
Add Tuya DPCode for fsd ( #82792 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2022-11-30 08:11:04 +01:00
Franck Nijhof
f9364c4e01
Fix 4 misconfigured sensor entity descriptions in Tuya ( #82933 )
2022-11-29 15:54:48 +01:00
GitHub Action
230b50d099
[ci skip] Translation update
2022-11-29 00:26:01 +00:00
GitHub Action
b65d8cc1b3
[ci skip] Translation update
2022-11-28 00:23:09 +00:00