1
0
mirror of https://github.com/esphome/esphome.git synced 2025-06-19 06:45:49 +01:00
Commit Graph

787 Commits

Author SHA1 Message Date
d9523a0cbf Fix repeat.count = 0 case ()
* Only play first action if count is non-zero

* Add test to  yaml

* Update test5.yaml
2023-09-09 09:10:20 +12:00
5c26f95a4b Refactor SPI code; Add ESP-IDF hardware support ()
* Checkpoint

* Checkpoint

* Checkpoint

* Revert hal change

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* ESP-IDF working

* clang-format

* use bus_list

* Add spi_device; fix 16 bit transfer.

* Enable multi_conf;
Fix LSB 16 bit transactions

* Formatting fixes

* Clang-format, codeowners

* Add test

* Formatting

* clang tidy

* clang-format

* clang-tidy

* clang-format

* Checkpoint

* Checkpoint

* Checkpoint

* Revert hal change

* Checkpoint

* Checkpoint

* Checkpoint

* Checkpoint

* ESP-IDF working

* clang-format

* use bus_list

* Add spi_device; fix 16 bit transfer.

* Enable multi_conf;
Fix LSB 16 bit transactions

* Formatting fixes

* Clang-format, codeowners

* Add test

* Formatting

* clang tidy

* clang-format

* clang-tidy

* clang-format

* Clang-tidy

* Clang-format

* clang-tidy

* clang-tidy

* Fix ESP8266

* RP2040

* RP2040

* Avoid use of spi1 as id

* Refactor SPI code.
Add support for ESP-IDF hardware SPI

* Force SW only for RP2040

* Break up large transfers

* Add interface: option for spi.
validate pins in python.

* Can't use match/case with Python 3.9.
Check for inverted pins.

* Work around target_platform issue with

* Remove debug code

* Optimize write_array16

* Show errors in hex

* Only one spi on ESP32Cx variants

* Ensure bus is claimed before asserting /CS.

* Check on init/deinit

* Allow maximum rate write only SPI on GPIO MUXed pins.

* Clang-format

* Clang-tidy

* Fix issue with reads.

* Finger trouble...

* Make comment about missing SPI on Cx variants

* Pacify CI clang-format. Did not complain locally??

* Restore 8266 to its former SPI glory

* Fix per clang-format

* Move validation and choice of SPI into Python code.

* Add test for interface: config

* Fix issues found on self-review.

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-08 02:27:19 -05:00
76ebbfefd2 Integration LightwaveRF switches ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-06 10:33:49 +12:00
JJ
74ab940aff Adding DFRobot Ozone Sensor Support (sen0321) () 2023-09-06 10:09:22 +12:00
ac5c6ec288 Add debug component to all tests () 2023-09-06 07:38:58 +12:00
32b24726ed Add Lilygo T-Embed to st7789v display config. ()
* Add Lilygo T-Embed to st7789v display config.

* Move all configuration into the Python code.
Add presets for TTGO.
All preset configuration can be overridden.

* Add Adafruit S2 pin presets

* Add test

* Add funhouse pins.

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

* Keep ordering of options consistent

* Remove unused declarations

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-05 02:01:28 -05:00
562f7c8718 Debug component: add free PSRAM sensor ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-05 14:02:59 +12:00
a9630ac847 Support for LibreTiny platform (RTL8710, BK7231 & other modules) ()
Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
Co-authored-by: Sam Neirinck <git@samneirinck.com>
Co-authored-by: David Buezas <dbuezas@users.noreply.github.com>
Co-authored-by: Stroe Andrei Catalin <catalin2402@gmail.com>
Co-authored-by: Sam Neirinck <github@samneirinck.be>
Co-authored-by: Péter Sárközi <xmisterhu@gmail.com>
Co-authored-by: Hajo Noerenberg <hn@users.noreply.github.com>
2023-09-05 10:16:08 +12:00
2165960ba1 add heating functionality to SI7021 ()
* add heating functoinality

* add test

* add heat

* fix

* fix

* fix

* fix

* fix

* fix sensor

* restore class

* Update esphome/components/htu21d/sensor.py

* Update esphome/components/htu21d/sensor.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

* Update esphome/components/htu21d/sensor.py

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>

---------

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-09-01 19:03:30 -05:00
19d53c6643 Use gzip compression for the web server component's static resources ()
Co-authored-by: Daniel Dunn <dannydunn@eternityforest.com>
2023-09-01 14:02:26 +12:00
0443310385 Bump arduino-heatpumpir to v1.0.23 () 2023-08-21 12:20:00 +12:00
c287e529a8 Change haier from AUTO to HEAT_COOL () 2023-08-18 08:06:21 +12:00
164d05fdce Add manufacturer data config to BLE server () 2023-08-18 08:05:25 +12:00
c11c4dad2f Add pmwcs3 capacitive soil moisture & temperature sensor component ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-18 08:03:39 +12:00
5cb5594288 Add configuration flow abilites to the ld2410 component () 2023-08-16 11:31:18 +12:00
0daf4545a9 fix midea: undo approved PR#4053 () 2023-08-14 09:06:04 +12:00
a84365659b Read string of bool env and match against well known values () 2023-08-11 16:20:58 +12:00
b56c606523 add value option to timeout filter ()
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-08-10 17:11:03 +12:00
f457269a68 Add missing on_(arming|pending|armed_home|armed_night|armed_away|disarmed) triggers to alarm_control_panel () 2023-08-10 17:09:21 +12:00
0ed0bdc655 New PM sensor Panasonic SN-GCJA5 () 2023-08-10 17:04:22 +12:00
a8fa4b56f9 New component: Add support for bmp581 pressure and temperature sensors () 2023-08-08 17:05:08 +12:00
f3329fdc8c Add KMeterISO component. ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-08 12:32:34 +12:00
a6b89e4e8a Add arm night to alarm control panel () 2023-08-08 11:57:40 +12:00
1495fada90 Add support for a01nyub ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-07 12:22:18 +12:00
56630bb717 Swap ADC back to use 'int' because C3 () 2023-07-31 09:19:06 +12:00
cd46a69f2c Add 'map_linear' and 'clamp' sensor filters () 2023-07-31 09:09:09 +12:00
a120a455bf climate triggers Climate and ClimateCall references () 2023-07-31 07:52:01 +12:00
827b2def1e Coolix IR protocol improvements ()
* coolix protocol

* tests

* 24-bit range

* some DRY in coolix

* added short condition

* one more change

* final prettify

* v2023.8
2023-07-23 08:15:37 +12:00
ac81fae855 Add timeout filter () 2023-07-17 09:17:31 +12:00
8c6cddf1bb Remove template switch restore_state () 2023-07-17 09:11:43 +12:00
a539197bc4 New 'Duty Time' sensor component () 2023-07-13 08:48:16 +12:00
119bbba254 Grove amend name () 2023-07-13 08:13:50 +12:00
8c5978599a Add support for ATM90E26 ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-12 17:10:22 +12:00
e0fd8cd850 Add support for Grove tb6612 fng ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-12 15:02:53 +12:00
cf65bd8ad7 airthings_wave: Battery level reporting () 2023-07-12 13:38:52 +12:00
5f531ac9b0 Add TT21100 touchscreen component ()
Co-authored-by: Rajan Patel <rpatel3001@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-12 13:19:19 +12:00
74139985c9 RTC implementation of pcf8563 ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-12 09:19:28 +12:00
f3cdcc008a Add Alpha3 pump component ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-11 17:12:43 +12:00
a391815921 Add Zio Ultrasonic Distance Sensor Component () 2023-07-11 16:24:18 +12:00
301a78f983 Adds 1.54" e-ink display (gdew0154m09) support to waveshare_epaper component ()
* Added GDEW0154M09 in waveshare_epaper component

* noop change - trigger workflow

* Make linter happy

* Update test4.yaml

* linter doing linty things

* revert the newline removal.

* revert to prove unstable test

* add code back into test.

* no partial updates supported yet - removed from test.

* Update esphome/components/waveshare_epaper/waveshare_epaper.cpp

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

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-07-05 14:32:00 -05:00
e74ab00b3e Mopeka std fixes ()
Co-authored-by: Your Name <you@example.com>
2023-07-04 12:55:04 +12:00
5b2176562b binary_sensor filters templatable delays () 2023-07-04 12:25:48 +12:00
8bd9f50659 airthings_wave: refactor to eliminate code duplication () 2023-06-21 11:53:44 +12:00
41a618737b XL9535 I/O Expander ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-19 15:26:06 +12:00
5a8e93ed0a Upgraded Haier climate component implementation ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Pavlo Dudnytskyi <pdudnytskyi@astrata.eu>
Co-authored-by: esphomebot <esphome@nabucasa.com>
2023-06-19 10:24:52 +12:00
ffa669899a Split display_buffer sub-components into own files ()
* Split display_buffer sub-components into own files

Move the Image, Animation and Font classes to their own h/cpp pairs,
instead of having everything into the display_buffer h/cpp files.

* Fixed COLOR_ON duplicate definition
2023-06-17 03:32:07 -05:00
54474e5b33 Add Alarm Control Panel ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-06-15 12:34:39 +12:00
5f0892dec4 Allow multiple MAC addresses for 'on_ble_advertise' filter () 2023-06-09 12:53:30 +12:00
6b00622329 Add support for mdi images () 2023-06-07 09:32:21 +12:00
71387846dc move pio tools to LED component () 2023-05-28 20:49:27 +00:00