Commit graph

1026 commits

Author SHA1 Message Date
Nate Clark
7074fa06ae
Adds MQTT component to Alarm Control panel component () 2024-08-06 15:53:52 +12:00
Clyde Stubbs
6b141102d6
[lvgl] Stage 5 ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-08-06 13:17:29 +12:00
Clyde Stubbs
d18bb34f87
[lvgl] Stage 4 () 2024-08-05 17:07:05 +12:00
Jesse Hills
cb9906b921
[api] `homeassistant.action replaces homeassistant.service` () 2024-08-01 22:38:36 +12:00
Clyde Stubbs
3920029aff
[lvgl] PR stage 3 ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-07-31 16:31:15 +12:00
Jesse Hills
8849443bf6
[update] Implement `update.perform action and update.is_available` condition ()
* [update] Fix unimplemented yaml action/condition

* Add/update tests

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-07-31 04:08:11 +00:00
Clyde Stubbs
7c1aa771aa
LVGL stage 2 ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-07-29 23:41:34 +00:00
NP v/d Spek
328b7255cb add test scripts 2024-07-26 16:23:36 +02:00
Clyde Stubbs
23ffc3ddfb
[lvgl] base implementation ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-07-25 11:12:04 +12:00
Aodren Auffrédou-Heinicke
f1aa254e48
APDS9306 Ambient Light Sensor ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Mat931 <49403702+Mat931@users.noreply.github.com>
2024-07-22 17:29:54 +12:00
rnauber
40e79299d5
Feature/m5angle8: Add support for m5angle8 input device ()
Co-authored-by: Richard Nauber <richard@nauber.dev>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-07-22 09:57:59 +12:00
Lucio Tarantino
fbc830176f
[heatpumpir] Fix BK72XX Compile error with IRremoteESP8266 () 2024-07-22 09:16:51 +12:00
tomaszduda23
8980996b1a
[CI] add web_server v1 test () 2024-07-16 17:14:33 +12:00
Keith Burzinski
07b78fea76
[CI] Add more `improv_serial` tests ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-07-14 20:32:10 +00:00
tomaszduda23
44d609b205
[CI] compile entire web_server during tests () 2024-07-15 08:05:02 +12:00
Anton Viktorov
feae794787
LTR390 separate ALS and UV gain and resolution ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-07-13 09:42:41 +12:00
H. Árkosi Róbert
8a3f0e3b93
Bump HeatpumpIR, add protocols, remove IRremoteESP8266 () 2024-07-13 09:19:33 +12:00
Keith Burzinski
6e624ff797
[wifi] Fix EAP for IDF 5.1+, add test () 2024-07-11 16:21:24 +12:00
Pavlo Dudnytskyi
aa8c963c50
UART component support added for host platform ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Pavlo Dudnytskyi <pdudnytskyi@astrata.eu>
2024-07-11 13:30:55 +12:00
Kevin Ahrendt
2873c6bbaf
[micro_wake_word] Version 2 () 2024-07-11 13:21:04 +12:00
Pavlo Dudnytskyi
ddaa84683b
Haier component update to support more protocol variations ()
Co-authored-by: Pavlo Dudnytskyi <pdudnytskyi@astrata.eu>
2024-07-06 19:00:44 +12:00
Jesse Hills
3fb9c93a24
[wifi] Only set default ttls phase 2 on esp-idf ()
* [wifi] Only set default ttls phase 2 on esp-idf

* Add eap arduino test
2024-07-03 02:21:41 +00:00
Jesse Hills
d8f0dce08f
[uptime] Add new timestamp type for uptime sensor ()
* [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 () 2024-07-02 14:07:36 +12:00
Kevin P. Fleming
5278ae4b5e
'uart' and 'improv_serial' need to understand non-UART logger configurations () 2024-07-01 11:52:05 +12:00
Jesse Hills
dc4a93f5d0
Revert "[CI] Update tests to run against IDF 5.1" () 2024-06-27 17:15:02 +12:00
Keith Burzinski
e23153d090
[CI] Remove old test yaml files () 2024-06-27 02:34:39 +00:00
Keith Burzinski
855d154439
[CI] Update tests to run against IDF 5.1 () 2024-06-27 10:55:05 +12:00
Keith Burzinski
7174cf35dd
[CI] Add more mdns and safe_mode tests () 2024-06-27 10:53:29 +12:00
Sergey Dudanov
f7af51b92c
[haier] climate ID auto generation () 2024-06-24 18:22:07 +12:00
Keith Burzinski
96f1a146a6
[CI] Add debug component test for LibreTiny () 2024-06-19 21:32:29 -05:00
Jesse Hills
8567877f07
[network] Default ipv6 to false to always set the flags ()
* [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
Keith Burzinski
f6848fe24d
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) ()
* Initial changes to support testing of additional framework versions

* Rename Arduino test files
2024-06-17 16:32:11 -05:00
Keith Burzinski
a59c9b4f77
[CI-esp32_hall] Remove IDF test () 2024-06-17 07:30:54 +00:00
Keith Burzinski
c30913ccde
[CI-wireguard] Test file consolidation () 2024-06-17 07:23:24 +00:00
Keith Burzinski
41f810f828
[CI-http_request] Test fix for IDF 5+ () 2024-06-17 19:21:15 +12:00
Keith Burzinski
d604c8ae64
[CI-api] Test fix for IDF 5+ () 2024-06-17 07:18:04 +00:00
Keith Burzinski
67d8c7c691
[CI-a01nyub] Consolidate test files () 2024-06-17 07:14:19 +00:00
Keith Burzinski
015cd42a2e
[CI-ethernet] Add/fix/organize/clean up ethernet component tests () 2024-06-17 07:06:25 +00:00
Oliver Hihn
68dbf35b09
X9C step delay with units () 2024-06-12 11:14:03 -07:00
Oliver Hihn
df52bc3493
Add step_delay option to X9C component () 2024-06-12 09:09:26 +00:00
Clyde Stubbs
bc408ad08c
[display] SDL2 display driver for host platform () 2024-06-12 13:42:01 +12:00
Samuel Sieb
13fabf1cd8
change to new 1-wire platform ()
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 ()
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-06-12 12:38:20 +12:00
Jesse Hills
3cd2fb0843
[core] Update Entities () 2024-06-12 09:57:36 +12:00
Jesse Hills
7b45498de6
[http_request] Add esp-idf and rp2040 support ()
* 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 ()

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
Olivier ARCHER
8ef4aaa70e
[ota] http_request update platform ()
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
svxa
f36a96c8e2
Add carrier_frequency option to remote_transmitter.transmit_aeha () 2024-06-05 00:35:19 -07:00
Clyde Stubbs
cdf83c5d8c
Add host time platform; remove host support from sntp. () 2024-06-04 15:09:46 +12:00
Pieter Viljoen
78b48209aa
Add Ethernet MAC address to ethernet_info () 2024-06-04 14:57:05 +12:00
Simone Rossetto
2beb1f0336
Wireguard support for bk72 microcontrollers ()
* 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 ()
* 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 () 2024-05-29 17:05:19 +12:00
Clyde Stubbs
ec3164f800
[wake_on_lan] Make component platform independent () 2024-05-29 16:36:49 +12:00
polyfloyd
c2d67659f3
mpr121: Add GPIO support ()
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 () 2024-05-24 09:07:39 +12:00
Penny Wood
7f9383c83b
[sx1509] Output open drain pin mode () 2024-05-23 09:31:56 +12:00
Keith Burzinski
9a6fde21ee
Add on_safe_mode trigger () 2024-05-23 07:43:13 +12:00
Jeroen van Oort
1ca7c2d7dd
Add support for acting as Modbus server ()
Co-authored-by: Jeroen van Oort <jeroen.vanoort@webparking.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-22 16:17:32 +12:00
Keith Burzinski
76abf2200c
Uncouple safe_mode from OTA () 2024-05-22 13:08:53 +12:00
Jesse Hills
9de67feccd
[remote_receiver] Add better error message for tolerance breaking change () 2024-05-21 10:53:16 +12:00
Clyde Stubbs
bad400e1cd
[ili9xxx] Add 18bit mode selection and custom init sequence () 2024-05-21 09:18:13 +12:00
Anton Viktorov
b06e0746f5
INA228/INA229, INA238/INA239, INA237 power/energy/charge monitor (I2C, SPI) ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-16 16:50:28 +12:00
Anton Viktorov
98cb6555df
SPI and I2C for ENS160 () 2024-05-16 15:22:40 +12:00
Keith Burzinski
f46c499c4e
Separate OTABackend from OTA component ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-16 14:01:09 +12:00
Andrew McFague
f0ec900e48
Skip gpio validation () 2024-05-16 11:49:04 +12:00
heggi
08509f7755
Mirage remote receiver & transmitter ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-16 11:35:17 +12:00
Mat931
46eee4a4f0
Add beken_spi_led_strip component ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-16 11:32:48 +12:00
Alex Boyd
773951d85e
BedJet: expose the outlet temperature on the climate and as a sensor () 2024-05-16 11:31:08 +12:00
Keith Burzinski
891f56b421
[tests] `test2.yaml` has become too large () 2024-05-15 17:14:19 +12:00
Szewcson
13e3920c13
GDK101 support ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-13 13:36:10 +12:00
Clyde Stubbs
5956bebcb7
[color] Fix crash when hex color parses as int, improve error reporting. () 2024-05-09 03:14:31 +00:00
chbmuc
d0120cefd2
Add IRK support to ble_rssi ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-09 15:02:43 +12:00
Keith Burzinski
f6a3784eba
Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
RFDarter
1e196bac98
fix date_time validation ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-07 12:47:07 +12:00
Anton Viktorov
599dbf27e0
Minor tidy up of BME280 code ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-06 14:19:25 +12:00
Anton Viktorov
c7c0d97a5e
SPI and I2C for BMP390 and BMP380 ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-05-02 13:49:01 +12:00
Keith Burzinski
5ddad26476
Extend and consolidate script tests () 2024-05-02 07:17:11 +12:00
Keith Burzinski
c69cdec052
Extend MQTT tests () 2024-05-01 16:49:20 +12:00
Anton Sergunov
73bb4aa4d5
[template/text] Fix lambda config ()
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
2024-04-29 20:40:03 +10:00
Clyde Stubbs
c007593f72
Fix for - inconsistent arguments () 2024-04-29 15:53:08 +12:00
Jesse Hills
a700ae481d
Fix command line substitutions without any yaml substitutions () 2024-04-29 07:33:52 +12:00
polyfloyd
cd91c7050c
waveshare_epaper: Add 2.90in-dke ()
Co-authored-by: The_Niz <the_niz@nurdspace.nl>
2024-04-26 18:44:58 +10:00
Jesse Hills
8ef7b41c91
Add datetime entities () 2024-04-26 09:19:54 +12:00
David Friedland
c531a528f0
Event entity support ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-24 14:35:26 +12:00
Jean Louis-Guerin
f8cdb087fc
Add the WeiKai SPI/I2C UART/IO Expander components to esphome ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-24 13:21:44 +12:00
Keith Burzinski
06829b53fe
Add some components to the new testing framework (S part 2) ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-24 07:40:20 +12:00
Keith Burzinski
7e8ed5c391
Add some components to the new testing framework (S part 1) ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-23 21:49:15 +12:00
Keith Burzinski
ed381b45eb
Add some components to the new testing framework (T) () 2024-04-23 21:49:03 +12:00
Keith Burzinski
18149bc276
Add some components to the new testing framework (I) ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-23 21:36:30 +12:00
Jesse Hills
8cb809d84d
[sn74hc595] Enforce type field to distinguish gpio vs spi mode () 2024-04-23 17:22:14 +12:00
Keith Burzinski
7e5b100b77
Add some components to the new testing framework (R) ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-23 16:53:13 +12:00
Keith Burzinski
eb89d99999
Add valve component ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-04-23 16:47:03 +12:00
Jesse Hills
fa8d09aca9
[mopeka_std_check] Fix test file indentation () 2024-04-23 16:20:37 +12:00
Keith Burzinski
6806cb28f6
Add some components to the new testing framework (O) () 2024-04-23 15:45:59 +12:00
Keith Burzinski
c0dc9c20fc
Add some components to the new testing framework (M part 2) () 2024-04-23 15:45:25 +12:00
Keith Burzinski
2b215fecc9
Add some components to the new testing framework (M part 1) () 2024-04-23 15:45:12 +12:00
Keith Burzinski
057f473a4a
Add some components to the new testing framework (P) () 2024-04-23 15:38:51 +12:00
Mat931
50e3ce4c80
Calibrate Beken internal temperature () 2024-04-23 08:59:06 +12:00
Jesse Hills
45ae78de03
Create `component_dir` substitution for local files to be included in… () 2024-04-22 10:29:56 +12:00