Commit graph

7049 commits

Author SHA1 Message Date
Jesse Hills
95e45dc12c
Allow parse_json to return a boolean result (#6884)
* Allow parse_json to return a boolean result

* Remove pass variable
2024-06-10 22:40:56 +00:00
dependabot[bot]
51a8a7e875
Bump docker/build-push-action from 5.3.0 to 5.4.0 in /.github/actions/build-image (#6883)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-11 10:17:18 +12:00
CptSkippy
21584d6d4e
Merge branch 'dev' into dev 2024-06-10 09:40:41 -07:00
Jesse Hills
dceab6ce29
[voice_assistant] Write less data to speaker each loop (#6877) 2024-06-10 15:22:55 +12:00
Jesse Hills
6de79d6cfb
[i2s_speaker] A few fixes (#6872) 2024-06-10 15:22:41 +12:00
Jesse Hills
7b45498de6
[http_request] Add esp-idf and rp2040 support (#3256)
* Implement http_request component for esp-idf

* Fix ifdefs

* Lint

* clang

* Set else to fail with error message

* Use unique_ptr

* Fix

* Tidy up casting, explicit HttpResponse lifetime (#3265)

Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>

* Remove unique_ptr wrapper

* Fix

* Use reference

* Add duration code into new split files

* Add config for tx/rx buffer on idf

* Fix

* Try reserve response data with rx buffer size

* Update http_request.h

* Move client cleanup to be earlier

* Move capture_response to bool on struct and remove global

* Fix returns

* Change quotes to brackets

* Rework http request

* Remove http request from old test yamls

* Update component tests

* Validate md5 length when hardcoded string

* Linting

* Add duration_ms to container

* More lint

* const

* Remove default arguments and add helper functions for get and post

* Add virtual destructor to HttpContainer

* Undo const HEADER_KEYS

* 🤦

* Update esphome/components/http_request/ota/ota_http_request.cpp

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

* Update esphome/components/http_request/ota/ota_http_request.cpp

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

* lint

* Move header keys inline

* Add missing WatchdogManagers

* CAPS

* Fix "follow redirects" string in config dump

* IDF 5+ fix

---------

Co-authored-by: Daniel Cousens <413395+dcousens@users.noreply.github.com>
Co-authored-by: Daniel Cousens <dcousens@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-06-09 15:15:29 -05:00
Mischa Siekmann
618102fe8c
fix: arduino media player still sets wrong state. (#6875) 2024-06-09 18:34:21 +12:00
esphomebot
38b7bed2fa
Update webserver local assets to 20240608-093147 (#6874) 2024-06-08 09:55:57 +00:00
CptSkippy
51a8837b5d
Merge branch 'dev' into dev 2024-06-07 15:34:56 -07:00
RFDarter
d77ea46157
[datetime] datetime-datetime strptime support value string without seconds (#6867) 2024-06-08 08:29:10 +12:00
Mischa Siekmann
8718e15a6a
fix: arduino media player sets wrong state for announcements (#6849)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-06-08 07:43:22 +12:00
RFDarter
861a23d039
[datetime] Add logs on DateCall perform (#6868) 2024-06-08 07:37:05 +12:00
Pieter Viljoen
276eea2b69
[docker] Avoid unsafe git error when container user and file config volume permissions don't match (#6873) 2024-06-08 07:36:07 +12:00
CptSkippy
d1e5719ec6
Merge branch 'dev' into dev 2024-06-07 08:47:05 -07:00
Jesse Hills
ccab57fc58
[logger] Fix defines for development (#6870)
* [logger] Fix defines for development

* Set debugging flags for rp2040
2024-06-06 23:30:49 -05:00
CptSkippy
e17c4c6c0c
Merge branch 'dev' into dev 2024-06-06 08:35:52 -07:00
Olivier ARCHER
8ef4aaa70e
[ota] http_request update platform (#5586)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Edward Firmo <94725493+edwardtfn@users.noreply.github.com>
2024-06-06 14:35:28 +12:00
CptSkippy
6dc1117bd7
Merge branch 'dev' into dev 2024-06-05 13:52:58 -07:00
Clyde Stubbs
7143e9cd9e
[config] Allow file: scheme for git external components (#6844) 2024-06-06 07:27:06 +12:00
cptskippy
9a9c37d579 Adding newline to eof 2024-06-05 18:29:20 +00:00
cptskippy
0fc43458a6 Fixed indentation. 2024-06-05 18:26:04 +00:00
CptSkippy
e2dcba2804 Adding tests 2024-06-05 11:16:26 -07:00
CptSkippy
2340f8e86a Merge branch 'dev' into ld2415h 2024-06-05 11:06:49 -07:00
CptSkippy
373755ca22
Merge branch 'dev' into dev 2024-06-05 06:10:45 -07:00
zry98
cc217d8a83
[Tuya Climate] Support both datapoint and pins for active state (#6789) 2024-06-05 08:11:19 +00:00
Will Rouesnel
c52d5c0279
Add invert_position_report to tuya.cover (#6020) 2024-06-05 07:52:19 +00:00
svxa
f36a96c8e2
Add carrier_frequency option to remote_transmitter.transmit_aeha (#6792) 2024-06-05 00:35:19 -07:00
Nate Clark
594856899a
[ethernet] Add config option to set arbitrary PHY register values (#6836) 2024-06-05 18:51:56 +12:00
Jesse Hills
f7742cdf19
Merge branch 'release' into dev 2024-06-05 16:39:19 +12:00
Jesse Hills
5b062a222c
Merge pull request #6863 from esphome/bump-2024.5.5
2024.5.5
2024-06-05 16:38:27 +12:00
Jesse Hills
664ee56dc5
Bump version to 2024.5.5 2024-06-05 15:51:29 +12:00
Keith Burzinski
388b2c2de0
[improv_serial] Fix for IDF 4.4.7 (#6855) 2024-06-05 15:51:29 +12:00
Jesse Hills
ce4a3d9950
[i2s_speaker] Add buffer allocation failure checks (#6829) 2024-06-05 15:51:29 +12:00
Jesse Hills
ac9f57600d
[voice_assistant] Half the microphone ringbuffer size (#6830) 2024-06-05 15:51:29 +12:00
Jesse Hills
69d38f6137
[ft5x06] Interrupt pin and code quality improvements (#6851)
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
2024-06-05 11:02:18 +10:00
CptSkippy
d90a51507b
Merge branch 'esphome:dev' into dev 2024-06-04 06:16:49 -07:00
Keith Burzinski
eb75778f84
[improv_serial] Fix for IDF 4.4.7 (#6855) 2024-06-04 03:18:20 +00:00
Keith Burzinski
2d56d8d84f
[wireguard] Implement workaround for crash on IDF 5+ (#6846) 2024-06-04 15:10:44 +12:00
Clyde Stubbs
cdf83c5d8c
Add host time platform; remove host support from sntp. (#6854) 2024-06-04 15:09:46 +12:00
Pieter Viljoen
78b48209aa
Add Ethernet MAC address to ethernet_info (#6835) 2024-06-04 14:57:05 +12:00
Pieter Viljoen
05491e756b
Avoid unsafe git error when container user and file config volume permissions don't match (#6843) 2024-06-04 13:34:47 +12:00
CptSkippy
c54269cadb
Merge branch 'dev' into dev 2024-06-03 07:43:09 -07:00
Jimmy Hedman
b8d2a6f574
[sntp] fix for ESP-IDF > 5.0 (#6769)
* Make sntp work with ESP-IDF >= 5.0

* Set operatingmode on other than ESP-IDF

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-06-02 22:23:49 -05:00
CptSkippy
e8e2e33b04
Merge branch 'dev' into dev 2024-06-02 15:34:49 -07:00
CptSkippy
b9eeeb2b84
Merge branch 'esphome:dev' into ld2415h 2024-06-01 15:49:17 -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