Kjell Braden
4c1af007ca
tuya: add time sync callback only once to prevent memleak ( #5234 )
2023-08-14 09:09:51 +12:00
6ecc1c14d2
tuya_light: fix float->int conversion while setting color temperature ( #5067 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: kswt <kswt@xmpp.is >
2023-07-12 13:28:48 +12:00
Jesse Hills
302dea4169
Move ESPTime into core esphome namespace ( #4926 )
...
* Prep-work for datetime entities
* Fix some includes and remove some restrictions on printing time on displays
* format
* format
* More formatting
* Move function contents
* Ignore clang-tidy
2023-06-08 17:24:44 -05:00
richardhopton and Samuel Sieb
5d8daa6990
Tuya: Prevent loop when setting colors on case-sensitive dps ( #4809 )
...
Co-authored-by: Samuel Sieb <samuel-github@sieb.net >
2023-05-13 15:16:28 +12:00
Alexander Momchilov and Jesse Hills
bef5b38d49
Add supports_stop trait to Cover ( #3897 )
...
* Add "stop" trait to Cover
* Add `supports_stop` to Cover protobuf msg
* Run `script/api_protobuf/api_protobuf.py`
... followed by `script/clang-format -i`
* Add `has_stop` field to template Cover
* Set `has_stop` during Cover codegen
* Set `supports_stop` trait on all other Cover types
* Bump APIVersion to 1.8
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-04-23 20:51:32 +00:00
Regev Brody
36c0e2416d
add select_schema to select component ( #4545 )
...
* add select_schema to select component
* add select_schema to select component
* fix cr
2023-03-26 20:01:35 +00:00
Oxan van Leeuwen and Jesse Hills
14e38f0469
Upgrade clang-format to v13 ( #4535 )
...
* Upgrade clang-format to v13
* Apply clang-format-13 formatting changes
* Format
* Format bme_680
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-03-20 03:38:41 +00:00
Stroe Andrei Catalin
ee7102fcd1
Added response for Tuya RSSI command ( #4549 )
...
* Added wifi rssi util
Added tuya mcu response to wifi rssi command
* Cleanup
* PR Comments
* PR Comments
2023-03-14 00:54:35 +00:00
Jesse Hills
50fbbf2d3b
Move remaining SENSOR_SCHEMA to use sensor_schema() ( #4471 )
2023-02-20 03:22:37 +00:00
irtimaled
f68d577986
Add configurable color datapoint ( #4383 )
...
* Add configurable color datapoint
* Lint fixes
* Review comments
* Linting
2023-02-19 21:50:46 +00:00
Regev Brody
e68beb8a43
add SUB_NUMBER macro and schema to number ( #4449 )
...
* add SUB_NUMBER macro and schema
* add SUB_NUMBER macro and schema
* add SUB_NUMBER macro and schema
2023-02-19 19:54:00 +00:00
Andre Borie and Jesse Hills
78f5c417a4
Gracefully reject vacuum map upload requests ( #4414 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-02-13 14:43:11 +13:00
Andre Borie
b8c0f88440
Improve tuya network status command ( #4415 )
2023-02-13 14:14:35 +13:00
Jesse Hills
3d2d681a7b
Remove baud check in tuya dump_config ( #4298 )
2023-01-16 17:32:15 +13:00
Jesse Hills
2053b02c61
Add reports fahrenheit to tuya climate ( #4032 )
2022-12-07 07:29:18 +13:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
Jesse Hills
ef26677b67
Always use brackets around single log macros ( #4072 )
2022-11-23 10:32:51 +13:00
Jesse Hills
4d66fab360
Tidy up switch schemas ( #3754 )
2022-08-31 13:43:46 +12:00
Jesse Hills
9663760ec5
Merge branch 'dev' into bump-2022.6.0b1
2022-06-08 22:46:20 +12:00
VitaliyKurokhtin
6a85259e4d
Block Tuya light from reacting to dp changes if transitioning ( #3076 )
2022-06-07 23:07:08 +12:00
Jesse Hills
d9d2edeb08
Fix compile issues on windows ( #3491 )
2022-05-19 21:21:42 +12:00
Keilin Bickar and Jesse Hills
f0c890f160
Remove deprecated fan speeds ( #3397 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-05-19 12:50:44 +12:00
Jesse Hills
282d9e138c
Revert adding spaces
2022-05-17 23:31:55 +12:00
Samuel Sieb and Samuel Sieb
6f49f5465b
Retry Tuya init commands ( #3482 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net >
2022-05-17 23:23:33 +12:00
Samuel Sieb and Samuel Sieb
9b6b9c1fa2
Retry Tuya init commands ( #3482 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net >
2022-05-17 20:15:02 +12:00
Maxim Ocheretianko
f62d5d3b9d
Add Tuya select ( #3469 )
2022-05-16 07:49:40 +12:00
Maxim Ocheretianko
0665acd190
Tuya status gpio support ( #3466 )
2022-05-16 07:44:14 +12:00
Dennis
7cba0c6fb0
Fix cover set position by force pushing position_id datapoint (simila… ( #3435 )
2022-05-10 21:42:31 +12:00
Jesse Hills
7a242bb4ed
Binary Sensor codegen tidyup ( #3217 )
2022-02-18 10:39:59 +13:00
Jesse Hills
40e06c9819
Raise minimum python version to 3.8 ( #3176 )
2022-02-10 09:55:11 +01:00
Jesse Hills
69856286e8
Text sensor schema generator similar to sensor ( #3172 )
2022-02-08 17:23:45 +13:00
Samuel Sieb and Samuel Sieb
42984fa72a
Handle Tuya multi-datapoint messages ( #3159 )
...
Co-authored-by: Samuel Sieb <samuel@sieb.net >
2022-02-04 15:50:42 +13:00
Oxan van Leeuwen and Jesse Hills
80d03a631e
Force braces around multi-line statements ( #3094 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-01-25 08:56:36 +13:00
2a84db7f85
Refactor fan platform to resemble climate/cover platforms ( #2848 )
...
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
Co-authored-by: rob-deutsch <robzyb+altgithub@gmail.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-01-23 22:21:54 +13:00
Oxan van Leeuwen
a31700e16f
Enable readability-qualified-auto check ( #3095 )
2022-01-23 20:29:58 +13:00
Frank Langtind
6ec9cfb044
Add Tuya Number support ( #2765 )
2021-12-20 14:35:10 +13:00
Oxan van Leeuwen
beeb0c7c5a
Introduce hex parsing & formatting helper functions ( #2882 )
2021-12-13 09:15:23 +13:00
Paul Nicholls
caf352ff06
Tuya Cover improvements ( #2637 )
2021-12-02 15:26:56 +13:00
Oxan van Leeuwen
607601b3a4
Enable a bunch of clang-tidy checks ( #2149 )
2021-12-02 09:03:51 +13:00
Oxan van Leeuwen
cbc1334b8d
Fix compile warning in Tuya automations ( #2837 )
2021-12-01 17:11:21 +13:00
dentra
939fb313df
Tuya text_sensor and raw data usage ( #1812 )
2021-11-30 08:08:52 +13:00
Ryan Mounce
e514a1fcd4
Use enum for Tuya fan direction datapoint ( #2471 )
...
Fix regression from PR2059. Tested with Arlec DCF5242HA.
2021-10-10 10:28:37 +02:00
Jesse Hills
505d1d78fb
Remove default initializations from tuya cover ( #2415 )
2021-09-29 12:19:19 +13:00
Otto Winter
855c98d815
Fix tuya cover lint checks ( #2414 )
2021-09-28 23:15:52 +02:00
Marek Marczykowski-Górecki
c26ea7e4e0
Tuya: add cover component ( #2279 )
2021-09-29 10:02:13 +13:00
irtimaled
c39ac9edfe
Support HSV-based color support on tuya light ( #2400 )
...
* fix: stop tuya light state getting reset
* fix typo
* Support for HSV color in Tuya
* Clamp formatting
2021-09-28 22:19:17 +02:00
irtimaled
1ba560dc9e
fix: stop tuya light state getting reset ( #2401 )
...
* fix: stop tuya light state getting reset
* fix typo
2021-09-27 21:54:51 +02:00
7246f42a8e
Tuya rgb support ( #2278 )
...
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-26 21:34:06 +13:00
irtimaled
bdcffc7ba9
fix: Setting Tuya string DP value ( #2394 )
2021-09-26 21:27:43 +13:00
Trevor North
e32722db70
Allow sloppy datapoint message length ( #1982 )
...
This allows datapoint update messages to be handled even if the overall
message is longer than required (likely that it contains trailing empty
bytes).
The specific type handling will read only the expected data lengths so
we only need to hard bail if we have too little data not too much.
2021-09-22 13:29:05 +02:00