Commit Graph

681 Commits

Author SHA1 Message Date
rospogrigio
c3ec3ac946 Removed local_key censoring in device diagnostics 2022-05-24 11:04:31 +02:00
rospogrigio
cbac83f362 Removed local_key censoring in device diagnostics 2022-05-24 11:03:50 +02:00
rospogrigio
b76b323f90 Removed local_key censoring in device diagnostics 2022-05-24 10:48:20 +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
f5ad40219b tox fixes 2022-05-23 16:44:44 +02:00
rospogrigio
b2e89808a1 tox fixes 2022-05-23 15:33:11 +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
d42901bae1 Merge branch 'localtuya_4.0' of github.com:rospogrigio/localtuya-homeassistant into localtuya_4.0 2022-05-23 13:45:58 +02:00
rospogrigio
6be13c5ba0 Obfuscated diagnostics; fixed IP auto-update; cleaned logs 2022-05-23 11:22:48 +00:00
rospogrigio
ef50285c33 Obfuscated diagnostics; fixed IP auto-update; cleaned logs 2022-05-23 13:18:56 +02: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
rospogrigio
73bc0464bb Merge pull request #743 from LeandroIssa/master
Add Brazilian Portuguese translation
2022-04-03 08:12:18 +02:00
Leandro Issa
ded67c6cea Merge branch 'master' into master 2022-04-03 01:30:08 -03:00
rospogrigio
471704eca6 Merge pull request #611 from pabigot/pabigot/20211031a
Fix color temperature to use correct conversion and clamp to allowed range
2022-03-31 12:30:30 +02:00
rospogrigio
9ee9224b8d Merge branch 'master' into pabigot/20211031a 2022-03-31 12:27:06 +02:00
rospogrigio
1f8f605e46 Merge pull request #722 from gpaesano/patch-2
Update climate.py
2022-03-30 12:13:57 +02:00
rospogrigio
09cfdeffd3 Merge branch 'master' into patch-2 2022-03-30 12:09:57 +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
f432f13873 Merge branch 'master' into master 2022-03-10 22:37:14 -03:00
rospogrigio
5570a94cb9 Update README.md 2022-03-10 11:23:21 +01: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
Alex Morega
7474b638bb Improve the Readme
* Add link to _tinytuya_.
* Clarify steps in Home Assistant Configuration screens.
* Set `yaml` syntax on a code example.
2022-02-08 08:40:42 +02: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
rospogrigio
2688a170c8 Merge pull request #506 from rikman122/vacuum_platform_new
Vacuum platform new
2022-01-24 11:09:02 +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
rospogrigio
c66135c828 Merge pull request #548 from vmartinv/climate
Implementation of climate platform
2022-01-23 08:26:59 +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
204b36b5a8 Merge pull request #542 from tinglis1/master
update to the new fan platform
2022-01-03 14:45:28 +01:00
rospogrigio
764993f771 Merge branch 'master' into master 2022-01-03 14:23:41 +01:00
rospogrigio
e8529d3933 Merge pull request #663 from jsBlackBelt/master
fix deprecated device_state_attributes
2022-01-02 13:29:40 +01:00
rospogrigio
8e1c7ef7a4 Merge branch 'master' into master 2022-01-02 13:25:51 +01:00
rospogrigio
4443713d40 Merge pull request #667 from jeremysherriff/master
Add scan interval notes and updated screenshots for README.md and info.md
2022-01-02 13:25:09 +01:00
rospogrigio
aca7e94ec4 Merge branch 'master' into master 2022-01-02 13:14:07 +01:00
rospogrigio
5427595129 Merge pull request #549 from vmartinv/update_interval
Periodically send update dps command
2022-01-02 13:13:41 +01:00