Commit Graph

467 Commits

Author SHA1 Message Date
rospogrigio
da8ed8d82b Fix for 'KeyError: tuya_devices' at startup 2022-06-01 17:31:58 +02:00
rospogrigio
00c126acb8 Fixed labels missing when editing Cloud configuration 2022-06-01 17:27:56 +02:00
rospogrigio
110585b3f8 Changed deprecated async_get_registry() to async_get() 2022-05-31 15:02:19 +02:00
rospogrigio
d7f53ada07 Fixed Adding new device manually 2022-05-30 12:08:20 +02:00
sibowler
01a9fb6a48 Revert "Revert "Rebase from upstream"" 2022-05-29 07:20:19 +10:00
sibowler
73be0c8a45 Revert "Rebase from upstream" 2022-05-29 06:57:37 +10:00
sibowler
370e37272c Merge branch 'master' of https://github.com/rospogrigio/localtuya into rospogrigio-master 2022-05-29 06:52:05 +10:00
rospogrigio
f9b88c79a0 Fixed wrong 'already_configured' message when editing entities 2022-05-27 12:54:20 +02:00
rospogrigio
d8b64eb819 Changed permissions for cloud_api.py 2022-05-27 12:35:32 +02:00
rospogrigio
98643a4012 Fixed diagnostics currupting stored config_entry 2022-05-26 13:49:52 +02:00
rospogrigio
cbac83f362 Removed local_key censoring in device diagnostics 2022-05-24 11:03:50 +02:00
rospogrigio
3896064c73 Removed local_key censoring in device diagnostics 2022-05-24 10:44:17 +02:00
rospogrigio
42aafa048a Removed local_key censoring in device diagnostics 2022-05-24 10:35:13 +02:00
rospogrigio
824c0127c1 Removed local_key censoring in device diagnostics 2022-05-24 10:30:27 +02:00
rospogrigio
cd39a3a74d tox fixes 2022-05-23 17:26:19 +02:00
rospogrigio
6c6b955048 First tox fixes 2022-05-23 15:31:08 +02:00
rospogrigio
f85e579a68 Fixed device diagnostic corrupting config entry 2022-05-23 14:38:03 +02:00
rospogrigio
6be13c5ba0 Obfuscated diagnostics; fixed IP auto-update; cleaned logs 2022-05-23 11:22:48 +00:00
rospogrigio
cdfe8e4906 Finalized device editing, device diagnostics, auto-update of local key and IP 2022-05-23 13:18:56 +02:00
rospogrigio
afc0230796 Introduced migration; fixed update when adding device 2022-05-23 13:18:56 +02:00
rospogrigio
d4c20ebfed Modified config flow, introduced device deletion 2022-05-23 13:18:56 +02:00
rospogrigio
b22cb29811 Introduced diagnostics 2022-05-23 13:18:56 +02:00
rospogrigio
b2a1350e56 Introduced TuyaCloudApi class 2022-05-23 13:18:51 +02:00
Leandro Issa
ded67c6cea Merge branch 'master' into master 2022-04-03 01:30:08 -03:00
rospogrigio
9ee9224b8d Merge branch 'master' into pabigot/20211031a 2022-03-31 12:27:06 +02:00
Peter A. Bigot
8a1c6e0380 Fix out-of-range color temperatures
If light.turn_on is invoked with `brightness: 128, color_temp: 500`
for a bulb that supports mired range 154..370 in value range 1..255
the calculated color temperature will be negative.  When the bulb
receives the command it may turn on, but will fail processing the
color_temp operation and will not send a response.

At this point `light.toggle` will have no effect because Home
Assistant is unaware that the bulb is on.

Fix the state by clamping the sent color temperature to the allowed
range.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2022-03-29 13:27:45 -07:00
Peter A. Bigot
2a277a0c26 Fix kelvin-to-mired conversion
Use the core utility rather than reimplementing it.

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
2022-03-29 12:45:46 -07:00
Leandro Issa
22cabf0c1a Rename pt_br.json to pt-BR.json 2022-02-27 00:42:32 -03:00
Leandro Issa
b16dcfdce9 Add files via upload 2022-02-09 20:56:56 -03:00
gpaesano
35ddf1564d Update climate.py
There is a typo in target precision which prevents corrct handling of temperature
2022-01-29 10:33:58 +01:00
rikman122
12bea161a8 lint code style fix 2022-01-24 10:44:38 +01:00
Rikman
6e1aa6b102 Merge branch 'master' into vacuum_platform_new 2022-01-24 10:02:49 +01:00
Martín Villagra
c7ee5fdb78 add turn on/off method 2022-01-13 17:15:49 -03:00
Rikman
cd4896d895 Merge branch 'master' into vacuum_platform_new 2022-01-13 12:25:49 +01:00
Martín Villagra
cf125ae616 add Manual/Program HVAC mode 2022-01-10 17:25:11 -03:00
Martín Villagra
b19682cfd9 use idle instead of off HVAC state 2022-01-10 17:24:59 -03:00
Martín Villagra
a8883a5d8e add Heat/Warming HVAC actions 2022-01-10 17:03:21 -03:00
Martín Villagra
9323676202 Merge remote-tracking branch 'upstream/master' into climate 2022-01-10 17:00:05 -03:00
rospogrigio
764993f771 Merge branch 'master' into master 2022-01-03 14:23:41 +01:00
rospogrigio
8e1c7ef7a4 Merge branch 'master' into master 2022-01-02 13:25:51 +01:00
rospogrigio
b3364525e4 Merge branch 'master' into master 2022-01-02 09:54:59 +01:00
rospogrigio
3201c366a3 Merge branch 'master' into update_interval 2022-01-02 09:52:56 +01:00
Martín Villagra
a2882a51e2 Merge remote-tracking branch 'upstream/master' into climate 2021-12-28 23:51:35 -03:00
Tim
ddee11f741 Revert "Merge branch 'add-string/integer-and-preset' into master"
This reverts commit a6ef6a4b7f, reversing
changes made to b748f0425c.
2021-12-22 23:05:33 +10:30
Tim
a6ef6a4b7f Merge branch 'add-string/integer-and-preset' into master 2021-12-22 22:52:42 +10:30
Tim
b748f0425c Remove blank line 2021-12-22 20:48:46 +10:30
Tim
0e048af29b fix issue with last tox fix 2021-12-22 20:01:39 +10:30
Tim
a25bf75a4d tox fixes 2021-12-22 19:45:16 +10:30
Louis
ad0e1b186c fix missing color temp label 2021-12-22 17:34:32 +11:00
Tim
e1ac7deace remove blank line 2021-12-22 11:35:04 +10:30