Commit graph

6905 commits

Author SHA1 Message Date
CptSkippy
e8e2e33b04
Merge branch 'dev' into dev 2024-06-02 15:34:49 -07:00
CptSkippy
eb9fffa5a3 Fixing function reference. 2024-06-01 15:48:30 -07:00
Kevin P. Fleming
2353b2b5e1
Add messages when WiFi and Ethernet components set 'warning' flag. (#6850) 2024-06-02 10:40:50 +12:00
Simone Rossetto
2beb1f0336
Wireguard support for bk72 microcontrollers (#6842)
* Bump esp_wireguard to v0.4.1

* add support for bk72 microcontrollers (thanks to kuba2k2)
* fix compilation error using esp-idf v5 (thanks to kbx81)
* fix crash on vpn disconnection with alive tcp connection (thanks to jefftharris)

* Disable ipv6 for bk72 wireguard test

* Completely remove ipv6 entry from bk72 wg test
2024-05-31 21:36:51 -05:00
Pieter Viljoen
41e13fa6f4
Replace random non-ascii-print characters with standard substitutes (#6840) 2024-06-01 10:49:48 +10:00
cptskippy
dd81f9a835 =========================================================
Your formatting is not correct, ESPHome uses clang-format to format
all source files in a unified way. Please apply the changes listed below

The following files need to be changed:
  esphome/components/ld2415h/ld2415h.h

=========================================================

diff --git a/esphome/components/ld2415h/ld2415h.h b/esphome/components/ld2415h/ld2415h.h
index 8f5a42f..87a7f65 100644
--- a/esphome/components/ld2415h/ld2415h.h
+++ b/esphome/components/ld2415h/ld2415h.h
@@ -134,7 +134,7 @@ class LD2415HComponent : public Component, public uart::UARTDevice {
   const char *tracking_mode_to_s_(TrackingMode value);
   const char *unit_of_measure_to_s_(UnitOfMeasure value);
   const char *negotiation_mode_to_s_(NegotiationMode value);
-  const char *i_to_s(const std::map<std::string, uint8_t> &map, uint8_t i);
+  const char *i_to_s_(const std::map<std::string, uint8_t> &map, uint8_t i);

   std::vector<LD2415HListener *> listeners_{};
 };
2024-05-31 23:59:44 +00:00
cptskippy
863c0b576a clang-tidy suggested change. 2024-05-31 23:30:26 +00:00
CptSkippy
289fa6ce18
Merge branch 'esphome:dev' into ld2415h 2024-05-31 14:56:08 -07:00
cptskippy
b0c5b1ddbb bounding buffer copy 2024-05-31 16:17:11 +00:00
CptSkippy
28bb6f5507 Bug with undeclared numbers 2024-05-31 08:29:11 -07:00
Keith Burzinski
1f301df51d
Fix log message in VA for IDF 5 (#6839) 2024-05-31 17:49:11 +12:00
NonaSuomy
2894a138e7
Update const.py added missing millimeter (#6834)
* Update const.py added missing millimeter

Added missing millimeter

* Fixed UNIT_MILLIMETER in multiple locations.
2024-05-31 05:13:11 +00:00
CptSkippy
a88f15797f Merge branch 'ld2415h' into dev 2024-05-30 15:08:45 -07:00
cptskippy
abc139fc65 clang.tidy changes 2024-05-30 22:04:20 +00:00
CptSkippy
cd5e798655 Squashed commit of the following:
commit 2ddb524360
Merge: c1d8b4e5 8dfe1d52
Author: CptSkippy <cptskippy@users.noreply.github.com>
Date:   Thu May 30 13:03:36 2024 -0700

    Merge branch 'esphome:dev' into ld2415h

commit c1d8b4e541
Author: cptskippy <github@toyrobotworkshop.com>
Date:   Thu May 30 19:35:56 2024 +0000

    clang-tidy suggestions.

commit 635cd1f4c8
Author: cptskippy <github@toyrobotworkshop.com>
Date:   Wed May 29 16:21:02 2024 +0000

    Updating CODEOWNERS
2024-05-30 13:08:43 -07:00
CptSkippy
2ddb524360
Merge branch 'esphome:dev' into ld2415h 2024-05-30 13:03:36 -07:00
CptSkippy
21926e1861
Merge branch 'dev' into dev 2024-05-30 12:36:48 -07:00
cptskippy
c1d8b4e541 clang-tidy suggestions. 2024-05-30 19:35:56 +00:00
Anton Viktorov
8dfe1d5220
LTR-303, LTR-329, LTR-553, LTR-556, LTR-559, LTR-659 Series of Lite-On Light (ALS) and Proximity(PS) sensors (#6076)
* LTR303 and LTR329 light sensors

* LTR303 tidy up

* LTR303 unused var

* LTR303 tidy up + test

* LTR303 auto sensitivity mode

* LTR303 auto sensitivity mode tidy

* LTR303 State machine version

* LTR303 name fix

* publish split

* minor

* new definitions for LTR

* als-ps test

* als-ps test

* als-ps test

* ps options

* ps options

* trgger bug fixed

* trgger bug fixed

* Minor comments

* ltr303->ltr_als_ps

* codeowners, tests

* tidy up

* tidy up

* tidy up

* gain enum name fix

* auto gain fix

* tweaks

* new style tests

* als/ps separate init

* logd->logv

* reconfiguration count changed

* old-style tests removed

* const py

* ambient light const in vmel7700 and ltr390

* Update esphome/components/ltr_als_ps/ltr_als_ps.cpp

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>

* Apply suggestions from code review

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>

* remove commented code

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-05-30 03:46:52 -05:00
Jesse Hills
dd27881336
[i2s_speaker] Add buffer allocation failure checks (#6829) 2024-05-30 03:01:39 -05:00
Jesse Hills
8aba890e69
[voice_assistant] Half the microphone ringbuffer size (#6830) 2024-05-30 03:00:09 -05:00
Jesse Hills
63fc8ab10a
[core] Const-ify some Component fields (#6831) 2024-05-30 02:59:15 -05:00
Erdem
9de8eaff24
Fix DHT reading timing for SI7021 on ESP32 (#6604)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-30 17:31:09 +12:00
Michael Hansen
c130ddbe9c
[micro_wake_word] Ensure model string is Path (#6826) 2024-05-30 13:58:13 +12:00
RFDarter
a7fc1a6298
[web_server] add entity sorting for v3 (#6445)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-30 13:54:20 +12:00
CptSkippy
ba8a341d66
Merge branch 'dev' into dev 2024-05-29 18:41:04 -07:00
Jesse Hills
854d3f2e4a
[voice_assistant] Timers (#6821)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-05-30 13:09:19 +12:00
CptSkippy
99fa755e38 Squashed commit of the following:
commit 635cd1f4c8
Author: cptskippy <github@toyrobotworkshop.com>
Date:   Wed May 29 16:21:02 2024 +0000

    Updating CODEOWNERS
2024-05-29 09:31:24 -07:00
cptskippy
635cd1f4c8 Updating CODEOWNERS 2024-05-29 16:21:02 +00:00
CptSkippy
b843bfd83c
Merge branch 'esphome:dev' into dev 2024-05-29 08:11:40 -07:00
dependabot[bot]
5ae32e81c3
Bump black from 24.4.0 to 24.4.2 (#6646)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-29 17:11:34 +12:00
dependabot[bot]
439fd94718
Bump peter-evans/create-pull-request from 6.0.4 to 6.0.5 (#6635)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-29 17:11:02 +12:00
dependabot[bot]
6d5d382f3d
Bump pytest-cov from 4.1.0 to 5.0.0 (#6580)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-29 17:10:47 +12:00
dependabot[bot]
60433c5e64
Bump docker/login-action from 3.1.0 to 3.2.0 (#6823)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-29 17:09:13 +12:00
Keith Burzinski
bff24e2977
Fix a bunch of components for IDF 5 compatibility and #6802 (#6805) 2024-05-29 17:05:19 +12:00
Clyde Stubbs
ec3164f800
[wake_on_lan] Make component platform independent (#6815) 2024-05-29 16:36:49 +12:00
CptSkippy
2abb34d313
Merge branch 'esphome:dev' into dev 2024-05-28 17:02:51 -07:00
Frederik
2b691ad5ad
Make SPI Ethernet (W5500) compatible with ESP-IDF v5 (#6778)
* change MAC PHY init order according to IDF examples

* add idfv5 specific w5500 config init

* esp_mac.h needs to be included directly starting with idf5

* Header fix

* Couple tweaks

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-05-28 17:02:45 -05:00
CptSkippy
908d565209
Merge branch 'esphome:dev' into dev 2024-05-28 14:47:05 -07:00
DAVe3283
06996def72
Use uint8_t instead of uint32_t for 8-bit values on mitsubishi (#6824)
This solves some printf formatting issues on ESP-IDF and saves RAM on all platforms.
2024-05-28 20:44:47 +00:00
DAVe3283
db6f6f0cb7
Fix compile errors on ESP32-C6 with latest ESP-IDF (#6822)
* Use <cinttypes> PRI macros to fix ESP32-C6 compile

* Fix compile error on latest ESP-IDF framework & platform
2024-05-28 14:40:34 -05:00
CptSkippy
cc3987b32f
Merge branch 'esphome:dev' into dev 2024-05-28 06:14:52 -07:00
pimdo
497cf8742f
Make i2s_audio compatible with IDF 5+ (#6534)
* Update i2s_audio.cpp

Replace usage of I2S_NUM_MAX with I2S_NUM_1

* Update i2s_audio_microphone.cpp

Replace I2S_MCLK_MULTIPLE_DEFAULT with I2S_MCLK_MULTIPLE_256

* Update i2s_audio_speaker.cpp

Replace I2S_MCLK_MULTIPLE_DEFAULT with I2S_MCLK_MULTIPLE_256

* Update voice_assistant.cpp

Fix  msg.event_type format

* check SOC_I2S_NUM for c3

* use I2S_NUM_AUTO

* Update i2s_audio.cpp

* Couple tweaks

* Why did they take away I2S_NUM_MAX

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-28 01:42:59 +00:00
CptSkippy
6d4640eaba
Merge branch 'dev' into dev 2024-05-27 17:52:38 -07:00
Jesse Hills
d2b35adcc8
Merge branch 'release' into dev 2024-05-28 12:51:22 +12:00
Jesse Hills
3fe2fc9b56
Merge pull request #6820 from esphome/bump-2024.5.4
2024.5.4
2024-05-28 12:50:30 +12:00
Jesse Hills
4cd4b168b4
Bump version to 2024.5.4 2024-05-28 08:29:19 +12:00
Gábor Poczkodi
f07479419c
[helpers] Move Base64 string to cpp (#6819) 2024-05-28 08:29:19 +12:00
Jesse Hills
54b51269ab
[web_server_base] Bump ESPAsyncWebServer-esphome to 3.2.2 (#6797)
Co-authored-by: Samuel Sieb <samuel-github@sieb.net>
2024-05-28 08:29:18 +12:00
Gábor Poczkodi
6e4fd428e7
[helpers] Move Base64 string to cpp (#6819) 2024-05-28 08:19:22 +12:00