Felix Storm and Jesse Hills
2e436eae6b
CAN bus: support remote transmission request flag for canbus.send ( #3193 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-04-04 11:15:51 +12:00
Niorix
771162bfb1
light: add RESTORE_AND_OFF/RESTORE_AND_ON LightRestoreMode ( #3238 )
2022-02-21 12:52:14 +13:00
Oxan van Leeuwen and Otto Winter
125c693e3f
Add ESP32 variant config validator function ( #3088 )
...
* Add esp32_variant config validator function
* Drop unused is_esp32c3 function
Co-authored-by: Otto Winter <otto@otto-winter.com >
2022-02-19 11:41:34 +01:00
Felix Storm
38259c96c9
CAN bus: support bit mask for on_frame can_id ( #3196 )
2022-02-17 17:00:31 +13:00
Felix Storm
c054fb8a2c
CAN bus: read all queued messages ( #3194 )
2022-02-17 17:00:14 +13:00
Oxan van Leeuwen
976f5d91ed
Logically group and document helper functions ( #3112 )
2022-01-27 20:35:42 +13:00
Oxan van Leeuwen
6a2c58fcc0
Implement output button ( #3109 )
2022-01-25 09:30:48 +13:00
Oxan van Leeuwen
4e6bdb31ac
Make CallbackManager invocable ( #3089 )
2022-01-25 08:57:26 +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
Oxan van Leeuwen
2f46267994
Add cv.require_esphome_version helper ( #3103 )
2022-01-24 20:10:27 +01:00
Oxan van Leeuwen and Otto winter
cdda648360
Generate ARDUINO_VERSION_CODE in Python code ( #3101 )
...
Co-authored-by: Otto winter <otto@otto-winter.com >
2022-01-24 10:34:34 +01:00
Oxan van Leeuwen
f2d677d51a
Fix path to extra_scripts in platformio.ini ( #3093 )
2022-01-24 16:03:34 +13:00
Oxan van Leeuwen
c2ee0f0864
Rename WEBSERVER_PORT define to USE_WEBSERVER_PORT ( #3102 )
2022-01-24 00:34:38 +01: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 and Jesse Hills
97681d142e
Enable readability-redundant-access-specifiers check ( #3096 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-01-23 20:47:22 +13:00
Oxan van Leeuwen and Jesse Hills
b2430097f2
Enable readability-named-parameter check ( #3098 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-01-23 20:39:07 +13:00
Oxan van Leeuwen
7da12a878f
Enable readability-redundant-member-init check ( #3097 )
2022-01-23 20:34:43 +13:00
Oxan van Leeuwen
a31700e16f
Enable readability-qualified-auto check ( #3095 )
2022-01-23 20:29:58 +13:00
Oxan van Leeuwen
7854522792
Enable readability-const-return-type check ( #3099 )
2022-01-23 20:28:00 +13:00
buxtronix
ea11462e1e
AM43: autoload "sensor" to avoid compile errors ( #3077 )
2022-01-20 13:33:42 +01:00
Oxan van Leeuwen
737188ae50
Fail hard if no random bytes available for encryption ( #3067 )
2022-01-18 14:29:57 +13:00
Oxan van Leeuwen
09402fdb22
Fix argument order in gitpod config file ( #3058 )
2022-01-16 23:40:27 +01:00
Oxan van Leeuwen
89e7448007
Remove deprecated attribute from virtual entity methods ( #3056 )
2022-01-16 23:40:15 +01:00
Oxan van Leeuwen
f44fca0a4b
Rename post_build scripts to fix codeowners script ( #3057 )
2022-01-17 11:15:11 +13:00
Oxan van Leeuwen
d9c938de33
Introduce big- and little-endian integer types ( #2997 )
2022-01-12 16:50:03 +13:00
Oxan van Leeuwen
073828235f
Deprecate virtual methods to set entity properties ( #3021 )
2022-01-10 13:32:39 +01:00
Oxan van Leeuwen
6383eca54a
Clean-up random helper functions ( #3022 )
2022-01-10 13:50:26 +13:00
Oxan van Leeuwen
499625f266
Convert is_callable to a backport of std::is_invocable ( #3023 )
2022-01-10 11:07:37 +13:00
Oxan van Leeuwen
e62c3e00c1
Bump PlatformIO to 5.2.4 and zeroconf to 0.37.0 ( #3007 )
2022-01-06 16:36:23 +01:00
Oxan van Leeuwen
07e790f900
Drop uint{32,64}_to_string() helper functions ( #3009 )
2022-01-06 16:36:11 +01:00
Oxan van Leeuwen
640142fc0c
Introduce str_lower_case() and str_upper_case() helpers ( #3008 )
2022-01-06 16:35:59 +01:00
Oxan van Leeuwen
5c339d4597
Convert clamp() helper to backport of std::clamp() ( #3010 )
2022-01-07 00:56:10 +13:00
Oxan van Leeuwen
a4931f5d78
Clean-up reverse_bits helpers ( #3011 )
2022-01-07 00:54:58 +13:00
Oxan van Leeuwen
d8e719d1c4
Support clang-tidy for ESP32 variants ( #3001 )
2022-01-05 21:30:15 +01:00
Oxan van Leeuwen
ffea3597f4
Set correct include_dir in platformio.ini ( #2999 )
2022-01-04 21:59:34 +01:00
Oxan van Leeuwen
193d3e0206
Fix clang-tidy with multiple ESP32 toolchains installed ( #2998 )
2022-01-05 08:34:17 +13:00
Oxan van Leeuwen
e5775cf812
Introduce bit_cast() backport ( #2991 )
2022-01-04 10:14:57 +01:00
Oxan van Leeuwen
5143a5b5c5
Use to_string() from STL when available ( #2992 )
2022-01-03 23:30:03 +01:00
Oxan van Leeuwen
dbc2812022
Improve PSRAM support ( #2884 )
2022-01-04 10:35:15 +13:00
Oxan van Leeuwen
4907e6f6d7
Fix MQTT button press action ( #2917 )
2021-12-21 08:19:20 +13:00
Oxan van Leeuwen
b3fb35783e
Set text sensor state property to filter output ( #2893 )
2021-12-13 15:21:09 +13:00
Oxan van Leeuwen
beeb0c7c5a
Introduce hex parsing & formatting helper functions ( #2882 )
2021-12-13 09:15:23 +13:00
cf5193d3e5
Fix for two points setting when fan_only_cooling is disabled ( #2903 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io >
Co-authored-by: Keith Burzinski <kburzinski@kbx-mbp2021.ad.kbx81.net >
2021-12-11 20:03:22 +13:00
Oxan van Leeuwen
6df1d5222d
Drop unused xSemaphoreWait define ( #2888 )
2021-12-08 12:46:36 +13:00
Oxan van Leeuwen
6fe4ff7f85
Drop len parameter from parse_number() ( #2883 )
2021-12-08 08:46:25 +13:00
Oxan van Leeuwen
12467a18e6
Feed watchdog when no component loops ( #2857 )
2021-12-07 07:24:20 +13:00
Oxan van Leeuwen
ffc112c9d0
Don't disable idle task WDT when it's not enabled ( #2856 )
2021-12-06 20:01:14 +13:00
Oxan van Leeuwen
d3e48e296f
Fix MCP23x17 not disabling pullup after config change ( #2855 )
2021-12-06 19:59:50 +13:00
Oxan van Leeuwen
40c017fd54
Update ota_component.cpp ( #2852 )
2021-12-03 07:52:56 +13:00
Alexandre-Jacques St-Jacques
1b88b7a166
Fix wifi not working with manual_ip using esp-idf ( #2849 )
2021-12-02 15:33:48 +13:00
Paul Nicholls
caf352ff06
Tuya Cover improvements ( #2637 )
2021-12-02 15:26:56 +13:00
Oxan van Leeuwen
54106179a1
Set ESP32 watchdog to loop task ( #2846 )
2021-12-02 09:05:42 +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
f58828cb82
Support setting manual_ip under networks option ( #2839 )
2021-12-02 08:55:27 +13:00
Oxan van Leeuwen
fbe1bca1b9
Fix compilation using subprocesses ( #2834 )
2021-12-01 17:37:24 +01:00
Oxan van Leeuwen
ca8db7696e
Don't enable namespace comment clang-tidy check twice ( #2830 )
2021-12-01 17:21:19 +13:00
Oxan van Leeuwen
c9190574a9
Fix CI check for Windows line endings ( #2831 )
2021-12-01 17:14:25 +13:00
Oxan van Leeuwen
bfeb0b3639
Add problem matcher for Python formatting errors ( #2833 )
2021-12-01 17:12:14 +13:00
Oxan van Leeuwen
cbc1334b8d
Fix compile warning in Tuya automations ( #2837 )
2021-12-01 17:11:21 +13:00
Oxan van Leeuwen
ab027a6ae2
Fix too-broad matcher for custom CI script ( #2829 )
2021-11-30 09:35:52 +01:00
Keith Burzinski
556d071e7f
Fix 8266 SPI Clock Polarity Setting ( #2836 )
2021-11-30 19:30:45 +13:00
Oxan van Leeuwen and Lydia Sevelt
2b50406856
Fix parsing of multiple values in EZO sensor ( #2814 )
...
Co-authored-by: Lydia Sevelt <LydiaSevelt@gmail.com >
2021-11-29 08:02:10 +13:00
Oxan van Leeuwen
10a2a7e0fc
Fix parsing numbers in Anova ( #2816 )
2021-11-29 08:00:29 +13:00
Oxan van Leeuwen
7a564b222d
Make clang-tidy suggest stdint.h int types ( #2820 )
2021-11-29 07:59:30 +13:00
Oxan van Leeuwen
5946c37925
Fix usage of deprecated climate method in anova ( #2801 )
2021-11-26 09:16:39 +01:00
Oxan van Leeuwen
00965fe19e
Consistently format errors in CI scripts ( #2762 )
2021-11-26 09:54:11 +13:00
Oxan van Leeuwen
9681dfb458
Correct constant for dynamic I2S bus in NeoPixelBus ( #2797 )
2021-11-26 09:37:27 +13:00
Oxan van Leeuwen
5e631bc6ba
Only match GCC warnings from ESPHome source files in CI ( #2756 )
2021-11-26 09:36:42 +13:00
Oxan van Leeuwen
b5f660398c
Add map filter for text sensors ( #2761 )
2021-11-26 09:35:33 +13:00
Oxan van Leeuwen
d50bdf619f
Cache virtualenv instead of pip cache between CI runs ( #2759 )
2021-11-26 09:29:10 +13:00
Oxan van Leeuwen
4e448b21ff
Drop obsolete comment from CI workflow file ( #2758 )
2021-11-26 09:27:53 +13:00
Oxan van Leeuwen
2a78c2970d
Fix CI cache key for test3.yaml compile ( #2757 )
2021-11-26 09:27:34 +13:00
Oxan van Leeuwen
3637be251e
Fix parsing numbers from null-terminated buffers ( #2755 )
2021-11-26 09:00:49 +13:00
Oxan van Leeuwen
897277992b
Introduce str_snprintf helper function ( #2780 )
2021-11-23 20:30:49 +13:00
Oxan van Leeuwen
5404163be0
Clean-up MAC address helpers ( #2713 )
2021-11-15 15:48:16 +01:00
Alexandre-Jacques St-Jacques
0b193eee43
Remove unnecessary duplicate touch_pad_filter_start ( #2724 )
2021-11-15 11:58:22 +13:00
Oxan van Leeuwen
04740fbcbb
Install test requirements in lint Docker image ( #2719 )
2021-11-15 10:04:43 +13:00
Oxan van Leeuwen
6a7440f7d3
Feed WDT between doing ESP32 touchpad measurements ( #2720 )
2021-11-15 09:45:25 +13:00
Oxan van Leeuwen
14299bb2cc
Drop unused constants from const.py ( #2718 )
2021-11-15 08:07:58 +13:00
Oxan van Leeuwen
66cebfc992
Restore InterruptLock on wifi-less ESP8266 ( #2712 )
2021-11-15 08:05:11 +13:00
Oxan van Leeuwen
bb9793d5b7
Enable addressable light power supply based on raw values ( #2690 )
2021-11-11 11:53:25 +13:00
Oxan van Leeuwen
99c775d8cb
Introduce encode_value/decode_value() template functions ( #2662 )
2021-11-10 19:44:01 +01:00
Oxan van Leeuwen
4d43396835
Clean-up string sanitation helpers ( #2660 )
2021-11-10 19:42:41 +01:00
Oxan van Leeuwen
c422b2fb0b
Introduce byteswap helpers ( #2661 )
...
* Backport std::byteswap() in helpers.h
* Introduce convert_big_endian() function
* Use convert_big_endian() in i2c byte swap functions
2021-11-10 19:40:18 +01:00
Oxan van Leeuwen and Jesse Hills
d8e33c5a69
Add repeat action for automations ( #2538 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-11-11 07:30:07 +13:00
Oxan van Leeuwen
15f9677d33
Introduce parse_number() helper function ( #2659 )
2021-11-11 07:15:06 +13:00
Oxan van Leeuwen
2ac232e634
Add missing hal.h include in esp32_camera_web_server ( #2689 )
2021-11-10 19:09:10 +01:00
ychieux
f72389147d
SSD1306_base: Add support for 64x32 size and fix flip functions ( #2682 )
...
* Add support for SSD1306 OLED display 0.42inch 64x32 and fix a typo in __init__.py preventing flip functions to operate as intended
* convert tab to spaces
* fix typo on filename for __init__.py
2021-11-09 18:47:19 +01:00
Ed
696643d037
BH1750: Fix a too high default H-res2 mode value ( #2536 )
2021-10-29 11:51:57 +13:00
Alex Iribarren
0d3e6b2c4c
Expose web_server port via the API ( #2467 )
2021-10-28 11:46:55 +13:00
Oxan van Leeuwen
87328686a0
Allow setting URL as platform_version ( #2598 )
2021-10-26 10:55:09 +02:00
0hax
a687b083ae
Teleinfo ptec ( #2599 )
...
* teleinfo: handle historical mode correctly.
In historical mode, tags like PTEC leads to an issue where we detect a
timestamp wheras this is not possible in historical mode.
PTEC teleinfo tag looks like:
PTEC HP..
Instead of the usual format
IINST1 001 I
This make our data parsing fails.
While at here, make sure we continue parsing other tags even if parsing
one of the tag fails.
Signed-off-by: 0hax <0hax@protonmail.com >
* teleinfo: fix compilation with loglevel set to debug.
Signed-off-by: 0hax <0hax@protonmail.com >
2021-10-23 19:01:23 +02:00
Oxan van Leeuwen
f7b3f52731
Limit hostnames to 31 characters ( #2531 )
2021-10-22 12:09:47 +02:00
Oxan van Leeuwen
07a9cb910f
Fix validation of addressable light IDs ( #2588 )
2021-10-21 20:07:37 +02:00
Oxan van Leeuwen
27d7d7ca69
Fix old-style arduino_version on ESP8266 and with magic values ( #2591 )
2021-10-21 19:56:47 +02:00
Oxan van Leeuwen
c0fc5b48ae
Fix pin/component switchup in SX1509 pin configuration ( #2593 )
2021-10-21 19:55:19 +02:00
Oxan van Leeuwen
8735d3b83e
Fix PlatformIO version for latest Arduino framework ( #2590 )
2021-10-21 18:59:49 +02:00
Oxan van Leeuwen
5b5ead872b
Fix ADC pin validation on ESP32-C3 ( #2551 )
2021-10-19 12:56:49 +02:00
Oxan van Leeuwen and Otto winter
ced11bc707
Autodetect ESP32 variant ( #2530 )
...
Co-authored-by: Otto winter <otto@otto-winter.com >
2021-10-18 13:36:18 +13:00
Oxan van Leeuwen
65d2b37496
Fix bitshift on read in ADE7953 ( #2537 )
2021-10-17 19:53:49 +13:00