Commit graph

968 commits

Author SHA1 Message Date
CptSkippy
1f11073ea9
Merge branch 'esphome:dev' into dev 2024-07-02 09:18:15 -07:00
Jesse Hills
d8f0dce08f
[uptime] Add new timestamp type for uptime sensor (#7029)
* [uptime] Add new timestamp type for uptime sensor

* Remove debug logs
2024-07-01 21:29:49 -05:00
Keith Burzinski
5e6c69b930
[CI] Update tests to run against IDF 5.1 (#7011) 2024-07-02 14:07:36 +12:00
Kevin P. Fleming
5278ae4b5e
'uart' and 'improv_serial' need to understand non-UART logger configurations (#6998) 2024-07-01 11:52:05 +12:00
Jesse Hills
dc4a93f5d0
Revert "[CI] Update tests to run against IDF 5.1" (#7003) 2024-06-27 17:15:02 +12:00
Keith Burzinski
e23153d090
[CI] Remove old test yaml files (#7002) 2024-06-27 02:34:39 +00:00
Keith Burzinski
855d154439
[CI] Update tests to run against IDF 5.1 (#6992) 2024-06-27 10:55:05 +12:00
Keith Burzinski
7174cf35dd
[CI] Add more mdns and safe_mode tests (#6990) 2024-06-27 10:53:29 +12:00
CptSkippy
f31ac25168 Merge branch 'ld2415h' into dev 2024-06-25 06:14:40 -07:00
cptskippy
44717402f7 renaming test targets 2024-06-25 13:13:02 +00:00
Sergey Dudanov
f7af51b92c
[haier] climate ID auto generation (#6949) 2024-06-24 18:22:07 +12:00
CptSkippy
9c9a55656f
Merge branch 'dev' into dev 2024-06-20 15:07:34 -07:00
Keith Burzinski
96f1a146a6
[CI] Add debug component test for LibreTiny (#6945) 2024-06-19 21:32:29 -05:00
CptSkippy
ebf4e934fa
Merge branch 'dev' into dev 2024-06-19 17:00:08 -07:00
Jesse Hills
8567877f07
[network] Default ipv6 to false to always set the flags (#6937)
* [network] Default ipv6 to false to always set the flags

* Separate tests for ipv6 disabled and enabled

* Forgot other platforms wouldnt have the variable in config
2024-06-18 22:09:16 -05:00
CptSkippy
127e5c2e7f
Merge branch 'dev' into dev 2024-06-17 18:12:46 -07:00
Keith Burzinski
f6848fe24d
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions

* Rename Arduino test files
2024-06-17 16:32:11 -05:00
CptSkippy
7527f84f5c
Merge branch 'dev' into dev 2024-06-17 10:46:03 -07:00
Keith Burzinski
a59c9b4f77
[CI-esp32_hall] Remove IDF test (#6921) 2024-06-17 07:30:54 +00:00
Keith Burzinski
c30913ccde
[CI-wireguard] Test file consolidation (#6920) 2024-06-17 07:23:24 +00:00
Keith Burzinski
41f810f828
[CI-http_request] Test fix for IDF 5+ (#6919) 2024-06-17 19:21:15 +12:00
Keith Burzinski
d604c8ae64
[CI-api] Test fix for IDF 5+ (#6918) 2024-06-17 07:18:04 +00:00
Keith Burzinski
67d8c7c691
[CI-a01nyub] Consolidate test files (#6917) 2024-06-17 07:14:19 +00:00
Keith Burzinski
015cd42a2e
[CI-ethernet] Add/fix/organize/clean up ethernet component tests (#6916) 2024-06-17 07:06:25 +00:00
CptSkippy
8462e7fdae
Merge branch 'dev' into dev 2024-06-14 09:25:05 -07:00
Oliver Hihn
68dbf35b09
X9C step delay with units (#6898) 2024-06-12 11:14:03 -07:00
CptSkippy
7d82fd7663
Merge branch 'dev' into dev 2024-06-12 07:09:26 -07:00
Oliver Hihn
df52bc3493
Add step_delay option to X9C component (#6890) 2024-06-12 09:09:26 +00:00
Clyde Stubbs
bc408ad08c
[display] SDL2 display driver for host platform (#6825) 2024-06-12 13:42:01 +12:00
Samuel Sieb
13fabf1cd8
change to new 1-wire platform (#6860)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-06-12 13:05:44 +12:00
NMartin354
7b60543afd
[safe_mode] Allow user-defined interval for successful boot (#6882)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-06-12 12:38:20 +12:00
Jesse Hills
3cd2fb0843
[core] Update Entities (#6885) 2024-06-12 09:57:36 +12:00
CptSkippy
21584d6d4e
Merge branch 'dev' into dev 2024-06-10 09:40:41 -07: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
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
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
svxa
f36a96c8e2
Add carrier_frequency option to remote_transmitter.transmit_aeha (#6792) 2024-06-05 00:35:19 -07: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
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
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
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
polyfloyd
c2d67659f3
mpr121: Add GPIO support (#6776)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-24 09:08:28 +12:00
Pavlo Dudnytskyi
aed0593793
[haier] `text_sensor and button` platforms (#6780) 2024-05-24 09:07:39 +12:00
Penny Wood
7f9383c83b
[sx1509] Output open drain pin mode (#6788) 2024-05-23 09:31:56 +12:00
Keith Burzinski
9a6fde21ee
Add on_safe_mode trigger (#6790) 2024-05-23 07:43:13 +12:00