Commit Graph

838 Commits

Author SHA1 Message Date
Fabian
c6f528583b
Proposal: Test yaml for each component (#5398)
* Test for each component.

* When possible use commandline substitution.

* Add wildcard support.

* end file with new line.

* Move component tests into subfolder.

* Add component test to pipeline.

* Remove trailing whitespace.

* add restore python step.

* Add `. venv/bin/activate` to pipeline.

* step `changed-components` needs `common` step.

* start `list-components-changed.py` different.

* iterate on pipeline stage `list-components`.

* Update `checkout` action.

* Rename test folder from `tests` to `_test`.

* validate file exists.

* Move component test folder.

* extend list-components to include child components.

* File does not end with a newline

* Handle empty list-components matrix.

* list-components also check for changes in tests folder.

* Improve `list-components.py`.

* `*` is a forbidden character for filenames on windows.

---------

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2024-01-18 01:13:40 -06:00
Benoît Leforestier
c9c8d39778
Add support of Honeywell HumidIcon (I2C HIH series) Temperature & Humidity sensor (#5730) 2024-01-18 09:56:56 +09:00
Keith Burzinski
0cd232cdf5
Add support for VEML3235 lux sensor (#5959)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-17 15:50:53 +09:00
Keith Burzinski
e35cab018a
Add NFC binary sensor platform (#6068) 2024-01-16 17:05:13 +09:00
alexborro
249cd67588
Fingerprint_grow: Trigger on finger scan start and on finger scan misplaced (#6003) 2024-01-16 16:38:19 +09:00
J. Nick Koston
5220c9edf8
Fallback to pure-python loader for better error when YAML loading fails (#6081) 2024-01-15 08:06:13 +09:00
Simone Rossetto
d616025fed
Actions to enable and disable WireGuard connection (#5690) 2024-01-11 14:09:42 +09:00
Andrey Bodrov
4b783c0372
BME280 SPI (#5538)
* bme spi finally

* linter

* CO

* tidy

* lint

* tidy [2]

* tidy[-1]

* final solution

* Update test1.yaml

remove failed test

* Update test1.1.yaml

add test to another file with free GPIO5 pin

* fix spi read bytes

* fix tests

* rename bme280 to bme280_i2c
2024-01-09 22:31:38 -06:00
J. Nick Koston
d9def0cb3a
Bump hypothesis to 6.92.1 (#6011) 2024-01-09 10:08:50 +09:00
Pavlo Dudnytskyi
2a43e55452
HaierProtocol library updated to 0.9.25 to fix the answer_timeout bug (#6015) 2023-12-29 13:08:26 -08:00
Clyde Stubbs
5ebb68f4ff
Ble client additions and fixes (#5277)
* Add config to disable auto-connect of BLE client.
Correct initialise MAC address of BLE client.

* Checkpont

* Fixes for automation progress.

* Fixes for automation progress.

* Checkpoint;
fix notify for ble_client

* Fix BLE client binary_output

* Various fixes

* Consider notifications on when receiving REG_FOR event.

* Add testing branch to workflow

* Add workflow

* CI changes

* CI changes

* CI clang

* CI changes

* CI changes

* Add comment about logging macros

* Add test, sanitise comment

* Revert testing change to ci config

* Update codeowners

* Revert ci config change

* Fix some state changes

* Add default case.

* Minor fixes

* Add auto-connect to logconfig
2023-12-29 01:35:44 -06:00
Anton Viktorov
3be97868fc
Support for ST7567 display 128x64 (I2C, SPI) (#5952) 2023-12-27 12:01:15 +11:00
J. Nick Koston
fe15d993f9
dashboard: Fix file writes on Windows (#6013) 2023-12-24 22:56:31 +09:00
Scott K Logan
3de5b26d77
Add a Binary Sensor Filter for state settling (#5900) 2023-12-22 11:33:29 +09:00
Jesse Hills
442820deaf
Fix replaced - in allowed characters during object_id sanitizing (#5983) 2023-12-22 03:28:25 +13:00
Ruben van Dijk
04b3547992
(fingerprint_grow) Added on_finger_scan_invalid automation. (#5885) 2023-12-21 13:39:55 +09:00
Jesse Hills
c92715e403
Fix pin reuse in test1 (#5978) 2023-12-21 13:37:02 +09:00
Pavlo Dudnytskyi
b5932940ee
Added alarm processing for Haier component (hOn protocol) (#5965) 2023-12-21 09:10:46 +09:00
Branden Cash
991880d53f
feat: add AS5600 component/sensor (#5174)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-21 09:07:40 +09:00
Yorick Smilda
23ceddafed
Add ability to lock to set mode (#5924) 2023-12-20 04:52:46 -06:00
Jesse Hills
84174aeb80
Fix pin reuse error with pin expanders (#5973)
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
2023-12-20 10:42:27 +00:00
Kamil Trzciński
d582cfa30a
image: allow the image to by auto-loaded by animation (#5139) 2023-12-20 10:33:05 +00:00
Clyde Stubbs
300343ae24
ESP32-S3 and ESP-IDF don't play well with USB_CDC and need USB_SERIAL_JTAG (#5929)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-12-15 11:24:52 +11:00
Keith Burzinski
76a6e288b6
Add support for PN7150 (#5487)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-14 08:27:35 +09:00
Keith Burzinski
6fd239362d
Add support for PN7160 (#5486) 2023-12-14 07:54:55 +09:00
Stefan Rado
6c7a133faa
Add humidity support to climate (#5732)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-13 10:23:02 +09:00
Thomas Bræmer
259a6d52e1
A02yyuw (#5729) 2023-12-13 08:26:08 +09:00
NP v/d Spek
c6dc336c4a
Updating the touchscreen interface structure (#4596)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: NP v/d Spek <github_mail@lumensoft.nl>
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
Co-authored-by: Gustavo Ambrozio <gustavo@gustavo.eng.br>
2023-12-12 22:56:01 +00:00
Tucker Kern
ad79e4fe24
Add support for fan preset modes (#5694)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-12 14:13:26 +09:00
Evgeny
39d026299e
Added on_image callback to ESP32 Cam (#4860) 2023-12-12 13:48:21 +09:00
Michael Davidson
b30430b0bd
Add graphical display menu (#4105)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Alex Hermann <gaaf@gmx.net>
2023-12-12 12:15:59 +09:00
J. Nick Koston
be07463fbd
dashboard: Add some basic tests for the dashboard (#5870) 2023-12-06 10:06:05 +09:00
Subhash Chandra
8f70ef24a2
feat(packages): support removing components (#5821) 2023-12-06 10:04:17 +09:00
Keith Burzinski
1d0fb59208
Fix test4.yaml after #5666 (#5890) 2023-12-05 02:50:40 +00:00
Clyde Stubbs
d9792b0d92
Checks for pins used in multiple places (#5666) 2023-12-05 08:56:53 +09:00
Clyde Stubbs
391eff8fd5
Add Chamberlain/HomEntry HE60R garage door opener (#5834)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-29 10:42:35 +13:00
Clyde Stubbs
993cd55b1d
Speed up (and fix) ili9xxx display component. (#5406) 2023-11-28 13:42:03 +13:00
functionpointer
4b6fbd5db0
Pylontech integration (solar battery bank) (#4688)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-28 11:43:03 +13:00
Jesse Hills
f63f722afb
Create GT911 Touchscreen component (#4027)
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
2023-11-28 09:44:09 +13:00
Clyde Stubbs
0a7d3c367b
Add 'enable_at_startup' feature to power_supply (#5826) 2023-11-27 10:36:52 +13:00
Clyde Stubbs
c43518c391
Allow split uart pin inversion for ESP-IDF (#5831) 2023-11-24 21:56:32 -06:00
Vincent Schmandt
f456603c1b
Add ENS160 Sensor (#4243)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: mrtoy-me <118446898+mrtoy-me@users.noreply.github.com>
2023-11-23 22:31:07 -06:00
J. Nick Koston
5c31bec8c2
Ensure names containing characters other than a-z A-Z 0-9 or _ are unique (#5810) 2023-11-23 17:29:08 -06:00
Landon Rohatensky
49c09afb87
Allow images to be downloaded from URLs (#5214)
Co-authored-by: guillempages <guillempages@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-24 08:10:33 +13:00
Clyde Stubbs
3ac59180ab
Add startup_delay to interval. (#5327) 2023-11-23 20:31:23 +13:00
J. Nick Koston
4e4fe3c26d
dashboard: Ensure disk I/O happens in the executor (#5789)
* Ensure I/O executor

* safe file writer

* fixes

* more io

* more io
2023-11-19 22:28:35 -05:00
Jimmy Hedman
cdcb25be8e
Make precommit checks happy (#5751) 2023-11-15 12:38:36 +13:00
Sergey Dudanov
00eedeb8b3
remote_base: added helper class and schemas (#5169)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-14 06:55:36 +13:00
Samuel Sieb
98ec798bfc
fix pin range for xl9535 (#5722)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-11-10 01:53:35 +00:00
Jesse Hills
972598a698
Handle nanoseconds in config (#5695) 2023-11-08 21:34:44 +13:00
Angel Nunez Mencias
ccffbfd3ae
support spi for sn74hc595 (#5491)
Co-authored-by: Jimmy Hedman <jimmy.hedman@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 03:15:13 -06:00
Charles Johnson
31fec2d692
add wifi.on_connect and wifi.on_disconnect triggers (#3639)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-06 23:17:13 -06:00
Angel Nunez Mencias
defe8ac97b
Add spi support for ade7953 (#5439)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 13:17:29 +13:00
Greg Cormier
972c18a7ca
Add differential pressure sensor support for CFSensor XGZP68xxD devices (#5562)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 12:46:30 +13:00
Jesse Hills
dd0270207f
Allow pulse light effect to have separate on and off transition lengths (#5659) 2023-11-07 12:39:47 +13:00
Rodrigo Martín
d5aeb32ca6
feat: Add ESP32 BLE enable/disable automations (#5616)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-06 15:54:39 +13:00
kahrendt
ff8b904097
Null topic_prefix disables MQTT publishing/subscription unless topic is explicitly configured (#5644) 2023-11-06 14:19:03 +13:00
Joris S
13994d9bd1
Add Micronova component (#4760)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Graham Brown <grahambrown11@gmail.com>
2023-11-03 19:54:47 +13:00
Mike La Spina
22cdb8dfc3
Add HLK-LD2420 mmWave Radar module component (#4847)
Co-authored-by: descipher <120155735+GelidusResearch@users.noreply.github.com>
2023-11-02 18:02:23 -05:00
Clyde Stubbs
1fd9d67e2b
Add support for PCA9535 16 bit I/O expander (#5634) 2023-11-01 12:22:04 +13:00
niklasweber
907d43827c
Add dfrobot_sen0395 mmwave radar component (#4203)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-27 17:56:33 +13:00
Cossid
bcfbcd9578
Add area (zone) to esphome core config to be suggested through API and MQTT. (#5602)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-27 11:38:52 +13:00
Jesse Hills
8b9a7608f0
Correctly allow mqtt topics to be none so ESPHome does not sub/pub to them (#5213) 2023-10-26 13:37:50 +13:00
kahrendt
841b24f744
Add support for Qwiic PIR binary sensor (#5194) 2023-10-26 08:29:21 +13:00
jpfaff
2895cc6c57
Add support for honeywellabp2 pressure sensor (#5422) 2023-10-26 07:28:07 +13:00
Daniel Dunn
e80bd8ed3d
Add text component (#5336)
Co-authored-by: Maurits <maurits@vloop.nl>
Co-authored-by: mauritskorse <mauritskorse@gmail.com>
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-25 22:00:32 +13:00
Alejandro Galfrascoli
e01ba894ed
Add IR Noblex climate component (#4913)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-24 16:28:53 +13:00
Jevgeni Kiski
34dce0acbf
AMS iAQ Core CO2 sensor component (#5192)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-24 12:35:51 +13:00
Piu Piuson
96822aaa3a
Feat: Add GREE climateir component (#4464)
Co-authored-by: orestismers <33354671+orestismers@users.noreply.github.com>
Co-authored-by: Orestes Mersinias <orestis.mers@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-24 11:34:46 +13:00
Chris Feenstra
b4765fb5fb
Add ZH/LT-01 climate component with IR receiver option (#4333)
Co-authored-by: Chris Feenstra <chris@cfeenstra.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-24 11:33:47 +13:00
Simone Rossetto
e7d51f9c16
Add address text sensor to WireGuard (#5576) 2023-10-24 08:05:57 +13:00
Samuel Sieb
84c00a5867
fix canbus send config (#5585)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-10-24 07:26:23 +13:00
Jimmy Hedman
05a95f8ee9
Remove explicit cast for IPAddress (#5574)
* Remove explicit cast for IPAddress

* Make linter happy
2023-10-21 17:04:07 +13:00
Jordan W. Cobb
9f033bce3b
Fan no off cycle action (#5564)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-19 20:02:27 +13:00
jj-uk
a7d817656e
Hydreon updates (#5424) 2023-10-19 13:06:28 +13:00
Clyde Stubbs
a794836ebe
Add config to allow suppression of warnings about use of strapping pins (#5287)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-19 13:04:53 +13:00
Samuel Sieb
c19dbdb02d
add on/off options for uart switch (#5539)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-10-18 08:07:29 +13:00
Samuel Sieb
6839de69c1
add uart button (#5540)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-10-18 07:30:32 +13:00
ghsensdev
6143099f60
Add Support for Sensirion SFA30 sensor (#5519)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-16 07:49:57 +13:00
NP v/d Spek
04b708c336
Splits FastLed test scripts out of test1.yaml (#5522) 2023-10-13 07:20:31 +13:00
Jesse Hills
511af5845e
Remote wake word support for voice assistant (#5229) 2023-10-10 19:52:42 +13:00
Ilia Sotnikov
412a866de8
Move to Pillow 10.x (#5489)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-09 13:47:52 +13:00
Adam Goode
af62c2d9cf
Implement sensor component for MMC5983 (#5361) 2023-10-09 10:26:58 +13:00
Pavlo Dudnytskyi
7e7c83b3ca
Support for Haier IR protocol added (#5403) 2023-10-09 09:49:55 +13:00
Clyde Stubbs
b6d5cb4142
St7789v and SPI data rate (#5472) 2023-10-04 15:18:33 -05:00
Clyde Stubbs
506c2ba6c7
ST7789v - Allow predefined backlight pin to be disabled. (#5476)
* Allow predefined backlight pin to be disabled.

* Add test

* Update esphome/components/st7789v/display.py
2023-10-03 20:10:26 -05:00
kahrendt
88bb051f37
Add xor automation condition (#5453) 2023-10-03 22:58:11 +13:00
Clyde Stubbs
205f41509b
Support RP2040 hardware SPI (#5466) 2023-10-03 10:24:20 +13:00
De Cock Xavier
a33b8abce8
Feat/component poller suspend (#5423) 2023-10-03 09:25:13 +13:00
Angel Nunez Mencias
2513ede3ec
Add testcases for multiple SPI buses on ESP32 Arduino (#5457) 2023-09-29 20:48:51 -05:00
Jimmy Hedman
57b7dd0fa2
Refactor ip address representation (#5252) 2023-09-27 21:38:43 +13:00
Clyde Stubbs
5360e14a9c
Fix #4896 and #4903 (#5433) 2023-09-27 12:25:14 +13:00
Samuel Sieb
1100f67b66
support keypads with pulldowns (#5404)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-09-21 10:26:36 +12:00
Kuba Szczodrzyński
056a28906b
Wizard: fix colored text in input prompts (#5313) 2023-09-21 10:09:23 +12:00
Keith Burzinski
736dbfac13
Add IDF 5 test yaml, add adc to IDF tests, fix adc for IDF 5 (#5379) 2023-09-13 11:36:17 +12:00
Jesse Hills
fe81bcc003
Use /data directory for .esphome folder when running as HA add-on (#5374) 2023-09-12 09:26:48 +12:00
Daniel Dunn
10eee47b6b
Make string globals persist-able using fixed size allocations (#5296)
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com>
2023-09-12 09:26:00 +12:00
Lubos Horacek
b107948c47
Wireguard component (#4256)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Simone Rossetto <simros85@gmail.com>
Co-authored-by: Thomas Bernard <thomas0bernard@gmail.com>
2023-09-12 07:13:24 +12:00
Clyde Stubbs
d2648657fb
Native SPI RGB LED component (#5288)
* Add testing branch to workflow

* Add workflow

* Checkpoint

* Align SPI data rates in c++ code with Python code.

* Checkpoint

* CI fixes

* Update codeowners

* Workflow cleanup

* Rename to spi_rgb_led

* Rename header file

* Clang tidy

* Disable spi after transfer.

* Move enable() to where it belongs

* Call spi_setup before enable

* Clang tidy

* Add test

* Rename to spi_led_strip

* Include 'defines.h'

* Fix CODEOWNERS

* Migrate data rate to new style setting.

* Remove defines.h

* Fix class name

* Fix name in .py

* And more more name tidy up.

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-10 21:20:06 -05:00
Flaviu Tamas
e66047e072
Add BMI160 support (#5143)
* Add BMI160 support

* BMI160: use set_timeout for delay

* Add support for old compilers

Fix "warning: missing terminating ' character"

* Increase power-on delay to be more conservative

* Add helper for reading little-endian data over i2c

* Replace configuration names with globals

Note: for testing with external components, you will need to comment out the import & define your own CONF_GYROSCOPE_X, etc, in this file

* Improve icons

* Fix tests & lint
2023-09-09 21:25:09 -05:00