esphome/tests/components
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
..
a01nyub
a02yyuw
a4988 Add some components to the new testing framework (A part 1) () 2024-02-05 11:29:18 +09:00
absolute_humidity
ac_dimmer
adc
adc128s102
addressable_light Add some components to the new testing framework (A part 1) () 2024-02-05 11:29:18 +09:00
ade7880
ade7953_i2c
ade7953_spi
ads1115
ags10
aht10
airthings_wave_mini
airthings_wave_plus Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
alarm_control_panel
alpha3
am43
am2315c
am2320
analog_threshold
animation
anova
apds9960 Add some components to the new testing framework (A part 2) () 2024-02-07 04:05:04 +09:00
api
as3935_i2c
as3935_spi
as5600
as7341
at581x
atc_mithermometer
atm90e26
atm90e32
b_parasite
ballu
bang_bang
bedjet
beken_spi_led_strip
bh1750
binary_sensor_map
bl0939
bl0940
bl0942
ble_client
ble_presence Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
ble_rssi
ble_scanner Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
bme280_i2c
bme280_spi
bme680
bme680_bsec Add some components to the new testing framework (B) () 2024-02-07 04:32:40 +09:00
bmi160
bmp3xx_i2c
bmp3xx_spi
bmp085
bmp280
bmp581
bp1658cj
bp5758d Add some components to the new testing framework (B) () 2024-02-07 04:32:40 +09:00
button
canbus Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
cap1188
captive_portal
ccs811
cd74hc4067
climate_ir_lg
color
color_temperature Add some components to the new testing framework (C) () 2024-02-08 10:55:20 +13:00
combination
coolix
copy
cs5460a
cse7761
cse7766
cst226
cst816
ct_clamp
current_based
cwww Allow setting htop for ledc () 2024-03-20 21:17:32 +13:00
dac7678
daikin
daikin_arc
daikin_brc
dallas
daly_bms
datetime
debug
deep_sleep
delonghi
dfplayer
dfrobot_sen0395
dht
dht12
display
dps310
ds1307
dsmr
duty_cycle
duty_time
e131
ee895
ektf2232
emc2101
emmeti
endstop
ens160_i2c
ens160_spi
ens210
esp32_ble
esp32_ble_beacon
esp32_ble_client
esp32_ble_server
esp32_ble_tracker
esp32_camera Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
esp32_camera_web_server
esp32_can
esp32_dac Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
esp32_hall
esp32_improv
esp32_rmt_led_strip
esp32_touch
esp8266_pwm
ethernet
ethernet_info
event
exposure_notifications
external_components
ezo
ezo_pmp
factory_reset
fastled_clockless
fastled_spi
feedback
fingerprint_grow
font
fs3000 Add some components to the new testing framework (F) () 2024-03-27 14:06:57 +13:00
ft5x06
ft63x6
fujitsu_general
gcja5
gdk101
globals
gp8403
gpio
gps
graph
graphical_display_menu Add some components to the new testing framework (G) () 2024-03-27 14:22:01 +13:00
gree
grove_tb6612fng
growatt_solar
gt911 Add some components to the new testing framework (G) () 2024-03-27 14:22:01 +13:00
haier
havells_solar
hbridge Add some components to the new testing framework (H) () 2024-04-10 03:57:22 -05:00
hdc1080
he60r
heatpumpir
hitachi_ac344
hitachi_ac424
hlw8012
hm3301
hmc5883l
homeassistant
honeywell_hih_i2c
honeywellabp
honeywellabp2_i2c Add some components to the new testing framework (H) () 2024-04-10 03:57:22 -05:00
host
hrxl_maxsonar_wr
hte501
http_request
htu21d
htu31d
hx711
hydreon_rgxx
hyt271
i2c
i2s_audio
iaqcore
ili9xxx
image Add some components to the new testing framework (I) () 2024-04-23 21:36:30 +12:00
improv_serial
ina2xx_i2c
ina2xx_spi
ina219
ina226
ina260 Add some components to the new testing framework (I) () 2024-04-23 21:36:30 +12:00
ina3221
inkbird_ibsth1_mini
inkplate6
integration
internal_temperature Add some components to the new testing framework (I) () 2024-04-23 21:36:30 +12:00
interval
jsn_sr04t
kamstrup_kmp
key_collector
kmeteriso
kuntze
lcd_gpio
lcd_menu
lcd_pcf8574
ld2410
ld2420
ledc
light
lightwaverf
lilygo_t5_47
lock
logger
ltr390
ltr_als_ps LTR-303, LTR-329, LTR-553, LTR-556, LTR-559, LTR-659 Series of Lite-On Light (ALS) and Proximity(PS) sensors () 2024-05-30 03:46:52 -05:00
matrix_keypad
max6675
max6956
max7219
max7219digit
max9611
max31855
max31856
max31865
max44009
mcp23s08
mcp23s17
mcp47a1
mcp2515
mcp3008
mcp3204 Add some components to the new testing framework (M part 1) () 2024-04-23 15:45:12 +12:00
mcp4725
mcp4728
mcp9600
mcp9808
mcp23008
mcp23016
mcp23017
mdns
media_player
mhz19
micro_wake_word
micronova Add some components to the new testing framework (M part 2) () 2024-04-23 15:45:25 +12:00
microphone
mics_4514
midea
midea_ir
mitsubishi
mlx90393
mlx90614
mmc5603
mmc5983 Add some components to the new testing framework (M part 2) () 2024-04-23 15:45:25 +12:00
modbus
modbus_controller
monochromatic
mopeka_ble
mopeka_pro_check
mopeka_std_check
mpl3115a2
mpr121
mpu6050 Add some components to the new testing framework (M part 2) () 2024-04-23 15:45:25 +12:00
mpu6886
mqtt
mqtt_subscribe
ms5611
my9231
neopixelbus
network
nextion
noblex
ntc
ota Uncouple safe_mode from OTA () 2024-05-22 13:08:53 +12:00
output Add some components to the new testing framework (O) () 2024-04-23 15:45:59 +12:00
partition
pca6416a
pca9554 Add some components to the new testing framework (P) () 2024-04-23 15:38:51 +12:00
pca9685
pcd8544
pcf8563
pcf8574
pcf85063
pid
pipsolar
pm1006
pmsa003i
pmsx003
pmwcs3
pn532_i2c
pn532_spi Add some components to the new testing framework (P) () 2024-04-23 15:38:51 +12:00
pn7150_i2c
pn7160_i2c
pn7160_spi
power_supply
prometheus
psram
pulse_counter
pulse_meter
pulse_width
pvvx_mithermometer
pylontech
pzem004t Add some components to the new testing framework (P) () 2024-04-23 15:38:51 +12:00
pzemac
pzemdc
qmc5883l
qmp6988
qr_code
qspi_amoled
qwiic_pir
radon_eye_ble Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
radon_eye_rd200
rc522_i2c
rc522_spi
rdm6300 Add some components to the new testing framework (R) () 2024-04-23 16:53:13 +12:00
remote_receiver
remote_transmitter Add carrier_frequency option to remote_transmitter.transmit_aeha () 2024-06-05 00:35:19 -07:00
resistance
restart
rf_bridge
rgb Add some components to the new testing framework (R) () 2024-04-23 16:53:13 +12:00
rgbct
rgbw
rgbww Add some components to the new testing framework (R) () 2024-04-23 16:53:13 +12:00
rotary_encoder
rp2040_pio_led_strip
rp2040_pwm
rpi_dpi_rgb
rtttl
ruuvi_ble Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
ruuvitag
safe_mode Add on_safe_mode trigger () 2024-05-23 07:43:13 +12:00
scd4x
scd30
script
sdm_meter
sdp3x
sds011
seeed_mr24hpc1
selec_meter
sen5x
sen0321
sen21231 Add some components to the new testing framework (S part 1) () 2024-04-23 21:49:15 +12:00
senseair
servo
sfa30
sgp4x
sgp30
shelly_dimmer
sht3xd
sht4x
shtcx
shutdown
sigma_delta_output
sim800l
slow_pwm
sm300d2
sm2135
sm2235
sm2335
sm16716 Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
sml
smt100
sn74hc165
sn74hc595
sntp
sonoff_d1
speaker
speed Add some components to the new testing framework (S part 2) () 2024-04-24 07:40:20 +12:00
spi
spi_device
spi_led_strip Add some components to the new testing framework (S part 2) () 2024-04-24 07:40:20 +12:00
sprinkler
sps30
ssd1306_i2c
ssd1306_spi
ssd1322_spi
ssd1325_spi
ssd1327_i2c
ssd1327_spi
ssd1331_spi
ssd1351_spi
st7567_i2c
st7567_spi
st7701s
st7735
st7789v
st7920
status
status_led
stepper
sts3x
sun
sun_gtil2
sx1509
t6615 Add some components to the new testing framework (T) () 2024-04-23 21:49:03 +12:00
tca9548a
tcl112
tcs34725
tee501
teleinfo
template
thermostat
time
time_based
tlc5947 Rework tlc5947 to remove AUTO_LOAD () 2024-04-09 15:51:54 +12:00
tlc5971
tlc59208f
tm1621
tm1637
tm1638
tm1651
tmp102
tmp117
tmp1075 Add some components to the new testing framework (T) () 2024-04-23 21:49:03 +12:00
tof10120
toshiba
total_daily_energy
tsl2561
tsl2591
tt21100
ttp229_bsf
ttp229_lsf
tuya Add some components to the new testing framework (T) () 2024-04-23 21:49:03 +12:00
tx20
uart
ufire_ec
ufire_ise
uln2003
ultrasonic
uponor_smatrix
uptime
vbus
veml3235
veml7700 VEML7700 and VEML6030 light sensors () 2024-03-11 21:51:01 -05:00
version Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
vl53l0x
voice_assistant
wake_on_lan
waveshare_epaper
web_server
whirlpool
whynter
wiegand Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
wifi Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
wifi_info
wifi_signal
wireguard
wk2132_i2c
wk2132_spi Add the WeiKai SPI/I2C UART/IO Expander components to esphome () 2024-04-24 13:21:44 +12:00
wk2168_i2c Add the WeiKai SPI/I2C UART/IO Expander components to esphome () 2024-04-24 13:21:44 +12:00
wk2168_spi
wk2204_i2c Add the WeiKai SPI/I2C UART/IO Expander components to esphome () 2024-04-24 13:21:44 +12:00
wk2204_spi
wk2212_i2c
wk2212_spi
wl_134
wled
x9c
xgzp68xx
xiaomi_ble
xiaomi_cgd1
xiaomi_cgdk2
xiaomi_cgg1 Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
xiaomi_cgpr1
xiaomi_gcls002
xiaomi_hhccjcy01
xiaomi_hhccpot002
xiaomi_jqjcy01ym Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
xiaomi_lywsd02
xiaomi_lywsd03mmc Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
xiaomi_lywsdcgq
xiaomi_mhoc303
xiaomi_mhoc401
xiaomi_miscale Consolidate test files where all tests are identical () 2024-05-08 07:33:37 +12:00
xiaomi_miscale copy
xiaomi_mjyd02yla
xiaomi_mue4094rt
xiaomi_rtcgq02lm
xiaomi_wx08zm
xl9535
xpt2046
yashima
zhlt01
zio_ultrasonic
zyaura