Commit graph

4216 commits

Author SHA1 Message Date
Jesse Hills
21337ffc67
Create RingBuffer for VoiceAssistant (#6102) 2024-01-16 17:37:57 +09:00
Piotr Majkrzak
ea03058ace
Fix RMT timing clock base (#6101) 2024-01-16 17:10:44 +09:00
Keith Burzinski
e35cab018a
Add NFC binary sensor platform (#6068) 2024-01-16 17:05:13 +09:00
Samuel Sieb
26acbbedbf
Add continuous option to the graph (#6093)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2024-01-16 16:44:12 +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
mathieu-mp
72ab1700e7
Add triangle shapes to display component (#6096) 2024-01-16 15:38:09 +09:00
aschmitz
87cab92af6
fix: negative temperatures on PMS5003T sensors (#6100) 2024-01-14 23:08:19 -08:00
NP v/d Spek
412c999f14
Revert "add Pico-ResTouch-LCD-3.5" (#6098) 2024-01-15 17:41:01 +11:00
NP v/d Spek
8cd1798674
add Pico-ResTouch-LCD-3.5 (#6078) 2024-01-15 11:09:35 +09:00
NP v/d Spek
83baa24022
Use touch state from ft63x6 driver. (#6055)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-15 11:07:06 +09:00
Samuel Sieb
8b2d76e8ce
convert cse7766 to non-polling (#6095)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2024-01-15 09:05:47 +09:00
Pieter Frenssen
dd2dca4d08
Bump pillow to 10.2.0. (#6091) 2024-01-15 08:48:02 +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
tomaszduda23
f567b5d28b
add STATE_CLASS_TOTAL_INCREASING to bl0940 and bl0942 (#6090) 2024-01-15 08:01:20 +09:00
guillempages
8e83c7dd19
Let show_*_page actions depend on "Display" (#6092)
Instead of forcing a DisplayBuffer, let the display page actions use Displays without buffer.
2024-01-14 08:01:32 +11:00
Keith Burzinski
d551a2eba2
Improv Serial -- don't wait for incoming bytes (#6089) 2024-01-13 08:21:28 +00:00
Samuel Sieb
ed2ab9e962
fix negative temperature for pmsx003 (#6083)
* fix negative temperature for pmsx003

* Update esphome/components/pmsx003/pmsx003.cpp
2024-01-12 09:47:50 +00:00
Samuel Sieb
aa04a3caaf
negative values for all DHT22 variants (#6074)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2024-01-12 03:20:08 -06:00
Samuel Sieb
343a8c063e
fix sen5x negative temperature (#6082) 2024-01-12 09:11:42 +00:00
mrtoy-me
4cc17dac0d
hydreon_rgxx - fix missing cg.add(var.set_model(...)) (#6065) 2024-01-11 15:18:22 +09:00
Simone Rossetto
d616025fed
Actions to enable and disable WireGuard connection (#5690) 2024-01-11 14:09:42 +09:00
Keith Burzinski
082d9fcf0e
ESP32-C3 USB_CDC fixes (#6069) 2024-01-11 08:05:34 +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
6dfdcff66c
dashboard: refactor ping implementation to be more efficient (#6002) 2024-01-09 10:35:43 +09:00
J. Nick Koston
2be19c4e45
Bump recommended ESP32 IDF to 4.4.6 (#6048) 2024-01-09 10:13:18 +09:00
Clyde Stubbs
65e6f9cba9
Add getter for image data_start (#6036) 2024-01-09 10:07:45 +09:00
Dusan Cervenka
79d00ec913
Extend i2s config options (#6056) 2024-01-09 10:07:21 +09:00
Edward Firmo
869cdf122d
Nextion draw QR code at runtime (#6027) 2024-01-09 09:47:48 +09:00
Edward Firmo
2bb5343d27
Extends UART change at runtime to ESP8266 (#6019) 2024-01-09 09:45:46 +09:00
Robert Paskowitz
e3d146ee44
Support full (>460 char) dumps of Pronto IR commands (#6040)
Co-authored-by: Rob Paskowitz <rob@paskowitz.ca>
2024-01-09 09:44:08 +09:00
Edward Firmo
6061699eff
Nextion enable upload from https when using esp-idf (#6051) 2024-01-09 09:41:34 +09:00
functionpointer
9bdb9dc1a3
pylontech: fix voltage_low and voltage_high wrong unit (#6060)
Co-authored-by: だから <82636574+Dackara@users.noreply.github.com>
2024-01-09 08:30:37 +09:00
functionpointer
696bfe6a87
pylontech: Fix parsing error with US2000 (#6061) 2024-01-09 08:26:13 +09:00
Ruben van Dijk
14bffaf8a7
Add questionmark to default glyphs. (#6053) 2024-01-09 08:12:28 +09:00
tomaszduda23
4202fe65b5
fix compilation error for libretiny (#6064) 2024-01-09 08:05:52 +09:00
Samuel Sieb
fdd54d74a3
Don't crash with invalid adc pin (#6059)
* Don't crash with invalid adc pin

* lint
2024-01-07 21:39:53 -06:00
Clyde Stubbs
ae52164d9c
Display: Introduce draw_pixels_at() method for fast block display rendering (#6034)
* Introduce `draw_pixels_at()` method for fast block display rendering

* Add check for 18 vs 16 bit display.
2024-01-01 17:34:40 -06:00
Clyde Stubbs
773cd0f414
GT911 touchscreen: Fix bug causing touch button release to fail (#6042)
* Fix bug causing gt911 touch button release to fail

* Cache button state and report changes only
2023-12-31 04:01:16 -06: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
Edward Firmo
d3567f9ac6
Nextion queue size (#6029)
* Nextion `queue_size` function

Returns the size of Nextion queue.
For troubleshooting only.

* Move `queue_size` to `nextion.h`

This is where the queue is

* Inline doc

* clang-format
2023-12-28 23:15:06 -06:00
Clyde Stubbs
21ec42f495
Add constants used by multiple display drivers to global const.py (#6033)
* Add constants used by multiple display drivers to global const.py

* Add further constants

* Refactor st7789v and st7735v
2023-12-29 02:00:19 +00:00
J. Nick Koston
d4d49e38fc
Fix device not requesting Home Assistant time at the update interval (#6022) 2023-12-28 14:51:00 +11:00
Anton Viktorov
3be97868fc
Support for ST7567 display 128x64 (I2C, SPI) (#5952) 2023-12-27 12:01:15 +11:00
Fabian
93ac765425
[Touchscreen] Add expire of touch record. (#5986)
* Add expire of touch record.

* Implement suggested changes.

* Alternative implementation to detect touch release.

* add `cancel_timeout`.

* Add touch timeout as configurable element.

---------

Co-authored-by: Your Name <you@example.com>
2023-12-25 06:16:53 +11:00
NP v/d Spek
46fc37b691
Display: fix class inherence in Python script (#6009) 2023-12-24 22:58:27 +09:00
J. Nick Koston
fe15d993f9
dashboard: Fix file writes on Windows (#6013) 2023-12-24 22:56:31 +09:00
NP v/d Spek
6583026e14
tt21100: restore init read (#6008) 2023-12-24 22:54:53 +09:00
Attila Farago
8e674990b0
web_server support for home assistant like styling (#5854)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-24 03:17:00 +13:00
J. Nick Koston
a97fc4f758
dashboard: Only ping when polling is active (#6001)
fixes https://github.com/esphome/issues/issues/5257
2023-12-23 14:43:17 +13:00
Jesse Hills
46c4c61b40
Fix broken configs with non-existent components (#5993) 2023-12-22 21:10:35 +13:00
J. Nick Koston
46255ad4df
Fix dashboard logs when api is disabled and using MQTT (#5992) 2023-12-22 16:35:31 +09:00
matzman666
676ae6b26e
Improved sensor readings in htu21d component. (#5839) 2023-12-22 15:58:17 +09:00
Jesse Hills
bd6fa29f77
Regenerate api_pb2 after manual changes were added incorrectly in #5732 (#5990) 2023-12-22 14:29:10 +09:00
J. Nick Koston
4fb7e945f8
Fix unexpected disconnects when outgoing buffer is full during keepalive (#5988) 2023-12-22 11:59:24 +09:00
Scott K Logan
3de5b26d77
Add a Binary Sensor Filter for state settling (#5900) 2023-12-22 11:33:29 +09:00
Jessica Hamilton
70fdc3c3f8
web_server.py: return empty content when file doesn't exist (#5980)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-22 10:58:30 +09:00
Keith Burzinski
059e4cee58
Add workaround for crash in Arduino 2.0.9 when CDC is configured (#5987) 2023-12-22 10:42:12 +09:00
marshn
513a02ce11
Add Keeloq RF protocol (#5511) 2023-12-22 09:30:23 +09:00
davidmonro
31448a4fcd
Override GPIOs 12 and 13 on the airm2m (LuatOS) board (#5982)
Co-authored-by: David Monro <david.monro@anu.edu.au>
2023-12-22 07:57:12 +09:00
Jesse Hills
442820deaf
Fix replaced - in allowed characters during object_id sanitizing (#5983) 2023-12-22 03:28:25 +13:00
Edward Firmo
5e2df0b6a2
Nextion allow underscore on names (#5979) 2023-12-21 02:34:33 -06:00
kahrendt
74281b93c4
Reduce memory usage with StringRef in MQTT Components (#5719) 2023-12-21 16:19:15 +09:00
marshn
222bb9b495
Improvements to RF receiver for Drayton Digistat heating controller (#5504) 2023-12-21 16:17:01 +09:00
Wojciech Banaś
d73ad39aed
Bug: Unwanted change resistance in x9c component (#5483)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-21 07:03:57 +00:00
sbrudenell
f096f107e2
support default pins for adafruit esp32 feather v2 (#5482) 2023-12-21 15:13:54 +09:00
Steve Rodgers
223e6e8f13
Alarm panel: Add changes to support enhanced features (#5671)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-21 14:10:47 +09:00
Ruben van Dijk
04b3547992
(fingerprint_grow) Added on_finger_scan_invalid automation. (#5885) 2023-12-21 13:39:55 +09:00
mrtoy-me
a784f1e691
Add Waveshare 1.47in 172x320 to ST7789v component (#5884) 2023-12-21 13:38:11 +09:00
Fabian Pflug
c305f61020
Add support for waveshare 2.9in B V3 version (#5902)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-21 13:36:43 +09:00
Fabian Pflug
784dff7574
Add waveshare 2.7in V2 model (#5903) 2023-12-21 13:30:10 +09:00
William Heimbigner
2a1d16f17b
PMSx003 add relevant device and state classes to default config (#5633) 2023-12-21 12:55:34 +09:00
Chris AtLee
937a9c96ce
Allow haier remote protocol to use lambdas (#5898) 2023-12-21 09:11:32 +09:00
Pavlo Dudnytskyi
b5932940ee
Added alarm processing for Haier component (hOn protocol) (#5965) 2023-12-21 09:10:46 +09:00
Matthew Campbell
c6a37da9da
Add gradient option to addressable color wipe effect (#5689) 2023-12-21 09:08:44 +09:00
mknjc
3c2383e261
Add default substitutions for package includes (#5752) 2023-12-21 09:08:13 +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
J. Nick Koston
cd06dc77ee
Speed up writing protobuf strings/bytes (#5828) 2023-12-19 14:24:48 +09:00
mathieu-mp
52b9668170
Add deep sleep between updates for waveshare epaper 1.54in and 1.54inv2 (#5961) 2023-12-19 12:29:00 +09:00
Jean Louis-Guerin
0a117eb562
Fix I2CBus::write() bug and add i2c documentation (#5947) 2023-12-19 08:14:42 +09:00
Keith Burzinski
3ea5054cf2
Fix build issue with UART component when building with Arduino and CDC (#5964) 2023-12-19 08:11:07 +09:00
NP v/d Spek
8961e8ab32
rename set_raw_touch_position_ to add_raw_touch_position_ (#5962) 2023-12-19 06:23:22 +11:00
Keith Burzinski
d99598bba6
Use the correct UART/Serial when CDC is enabled (#5957) 2023-12-18 07:33:12 +00:00
Jean Louis-Guerin
1d37edb63c
Revert pure virtual functions in UART component from #5920 (#5932)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-18 00:03:01 +00:00
dentra
29fb2a5360
web_server_idf: fix call with hardcoded http code (#5942) 2023-12-18 09:01:21 +09:00
Alex Hermann
8653972cb8
esp32_camera: Set framebuffer task prio to 1 (#5943) 2023-12-18 09:00:42 +09:00
Alex Hermann
8a23b7e0c8
i2s_audio: Set player_task's prio to 1 (#5945) 2023-12-18 08:58:13 +09:00
Grant Le Roux
003d8b0cf5
Fix - Tuya Fan - Allow integer speed datapoint (#5948)
Co-authored-by: Cram42 <5396871+cram42@users.noreply.github.com>
2023-12-18 08:28:48 +09:00
Edward Firmo
94904f44f9
UARTComponent inline doc (#5930) 2023-12-18 08:19:30 +09:00
mrtoy-me
836a3db163
Update ENS160 TVOC device_class and AQI units to match required by HA (#5939) 2023-12-15 14:39:05 +09: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
Jesse Hills
0a188ad9d2
Fix SplitDefault with variants (#5928) 2023-12-14 02:33:04 -06:00
jochenvg
a3cc551856
Support toggle action for template cover (#5917) 2023-12-14 14:01:01 +09:00
Fabian
8c37066ed9
[Logger] ESP32 S3 serial logger (#4853)
* Add support for ESP32 S3 logger.

* fix default

* Remove cpp & h changes to combine with PR #4658

* Not enough attention to details.

* Add build flag

* Validation fix

* Fix validation for real this time

---------

Co-authored-by: Your Name <you@example.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-12-13 22:47:31 -06:00
Jesse Hills
777cdb1c21
Allow use of CDC/JTAG loggers on esp32 variants with Arduino (#4658)
* Allow use of CDC/JTAG loggers on esp32 variants with Arduino

* Only on s2/s3

* Separate C3 from S2/S3

* C code builds & runs correctly, still needs work though

* Works on S2

* It works!

* Remove unnecessary header

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-12-13 22:24:16 -06:00
Jesse Hills
9f27eadaee
Bump version to 2024.1.0-dev 2023-12-14 08:30:45 +09: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
Edward Firmo
81aa48a5f3
Exposes load_settings to UARTComponent class (#5920) 2023-12-14 07:45:08 +09:00
Jacob Masen-Smith
9a8bc9484d
Fix the initial run of lambda light effects (#5921)
The timer used for `millis()` is a monotonic timer based on the last
start time of the device. If, for some reason, you pick a long
`update_interval` and try to apply it as soon as you start the device,
nothing happens because the device hasn't been on for longer than the
`update_interval`
2023-12-13 14:33:24 -06:00
Edward Firmo
9daaadb3b6
UART change at runtime (#5909)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-13 20:29:05 +13:00
Jesse Hills
058c43e953
Copy esp32 custom partition files to build folder (#5919) 2023-12-13 02:51:07 +00:00
Jesse Hills
f1f8689462
Fix typo added in esp32 post_build filename (#5918) 2023-12-13 02:47:46 +00: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
Cossid
a72725f4b4
BP1658CJ - Fix timing for all platforms, now consistent with other drivers (#5799) 2023-12-13 09:04:17 +09:00
Nicolas Gilles
d0bcba3b3f
ir_transmitter: add support for repeated commands in NEC protocol (#4995)
Co-authored-by: Nicolas Gilles <nicolas.gilles@aiven.io>
2023-12-13 08:55:20 +09:00
Mathias Pihl
69026f7599
Remove setpoint-change from error when calculating derivative in pid controller (#4737)
Co-authored-by: Mathias Pihl <mapih@frode-laursen.com>
2023-12-13 08:50:55 +09:00
Clyde Stubbs
29002c8f45
Fix crash when handling pin_check error (#5915) 2023-12-13 08:38:37 +09:00
Theo Hussey
03baaa94a8
Fix AHT10 / AHT20 communication (#5198)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-13 08:28:59 +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
dependabot[bot]
8e92bb7958
Bump black from 23.11.0 to 23.12.0 (#5912)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-12 21:59:10 +00:00
Çetin Koca
cc7d167e8b
Fix uninitialized climate target temperature (#5795) 2023-12-12 14:17:56 +09: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
Clemens
86e6a8a503
fix RGBW Mode on RP2040 (#5907) 2023-12-12 12:28:16 +13:00
Clyde Stubbs
b62c099d54
Fix 18 bit displays. (#5908) 2023-12-12 12:22:41 +13:00
mtl010957
51428dcbc2
Handle case where using enetity level name: None with MQTT (#5897)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-12-07 09:31:27 +09:00
Edward Firmo
049a7a0113
Add framework info to Nextion log tags (#5864) 2023-12-07 08:57:06 +09:00
Edward Firmo
f026f49415
Nextion exit reparse mode on startup (#5868)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-12-06 00:55:07 -06:00
Subhash Chandra
8f70ef24a2
feat(packages): support removing components (#5821) 2023-12-06 10:04:17 +09:00
Keith Burzinski
89d7cdf86b
RC522 - Fix error counter error (#5873) 2023-12-05 17:21:12 +09:00
Fabio Pugliese Ornellas
7fd08fb816
Fix template text component length check (#5881)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-12-04 22:17:43 -06:00
Edward Firmo
4d3730b50e
Nextion support to idf with cinttypes (#5876) 2023-12-04 19:09:44 -06:00
Clyde Stubbs
d9792b0d92
Checks for pins used in multiple places (#5666) 2023-12-05 08:56:53 +09:00
Clyde Stubbs
df5394d51c
Suppress full config output of "esphome config" when -q option is used. (#5852) 2023-12-05 08:52:02 +09:00
Fabio Pugliese Ornellas
b8fe4f8d56
Security improvement: Support wifi ap_timeout=0s (disable) (#5887) 2023-12-05 08:50:01 +09:00
Samuel Sieb
29dcc4031f
fix a01nyub data reading (#5882)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-12-05 08:41:33 +09:00
Mike La Spina
e271faa544
Fix un-initialized version string (#5865) 2023-12-04 17:15:01 -06:00
Samuel Sieb
788f1b60e2
add missing ifdef to pvvx_mithermometer (#5880) 2023-12-02 22:58:25 -08: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
Alexander Dimitrov
6424f831e2
Pn532 non blocking scan (#5191) 2023-11-29 10:17:16 +13:00
Sean Brogan
af8258168b
Add Pro Check Universal sensor support. (#5798)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-28 20:00:48 +13:00
Edward Firmo
3940c6ac4e
Improve reliability of Nextion TFT uploads (Arduino) (#5683)
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2023-11-27 23:25:20 -06:00
J. Nick Koston
ad5f6b5687
dashboard: fix supervisor auth doing I/O in the event loop (#5807) 2023-11-27 23:11:17 -06:00
Edward Firmo
2f888ff7c5
Nextion colors parameters (#5699)
* Add `foreground` color

- Adds `set_component_foreground_color` and `set_component_pressed_foreground_color` which does the same as `set_component_font_color` and `set_component_pressed_font_color` but with a more intuitive name, as this can be used for any component and not only the ones with a text (font).
- I've also reviewed some docstring when related to colors.

* Add numeric color to drawing methods

Should I've used uint32_t instead? In order to keep consistency?

* component color support to uint6_t

This is the right format and is now consistent with colors on drawings.
I'm keeping uint32_t also to avoid breaking changes.

* Enforces uint16_t for colors

uint32_t is incorrect for Nextion display colors.

* Fix clang-format
2023-11-27 22:50:14 -06:00
Edward Firmo
d1be686c54
Nextion on_touch trigger (#5833) 2023-11-28 17:14:59 +13:00
Clyde Stubbs
a8bc5ef46f
Pass through additional arguments to create number (#5849) 2023-11-28 16:50:02 +13:00
Clyde Stubbs
993cd55b1d
Speed up (and fix) ili9xxx display component. (#5406) 2023-11-28 13:42:03 +13:00
Edward Firmo
ab1cc0ed6e
Nextion - Align strings on dump_config (#5824) 2023-11-27 18:24:43 -06:00
Clyde Stubbs
496c29aa04
Fix ESP-IDF uart initialisation sequence to match Espressif docs. (#5838) 2023-11-28 12:42:22 +13:00
Lucas Prim
a66dec738d
Implement deep sleep and clear screen on Waveshare 7.5in B V3 (#5239) 2023-11-28 12:40:39 +13:00
Jesse Hills
b8ee0dedec
Fix write_speaker without speaker in config (#5847) 2023-11-28 12:28:24 +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
J. Nick Koston
4e6d3729e1
dashboard: Small cleanups to dashboard (#5841) 2023-11-28 11:39:24 +13:00
Edward Firmo
460362b11f
Nextion - Standardizing log messages (#5837) 2023-11-27 21:09:57 +00:00
Jesse Hills
3b77f05cc9
Add 'voice_assistant.connected' condition (#5845) 2023-11-27 14:57:40 -06: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
Jesse Hills
a15a812466
Fix missing include in remote_base (#5843) 2023-11-28 09:43:41 +13:00
Jesse Hills
15180ee1e2
mcp3008: Tidy up and fix auto load bug (#5842) 2023-11-27 20:35:31 +00:00
Jesse Hills
1324d9e39a
Voice Assistant improvements (#5827) 2023-11-27 13:45:26 +13:00
Clyde Stubbs
0a7d3c367b
Add 'enable_at_startup' feature to power_supply (#5826) 2023-11-27 10:36:52 +13:00
Clyde Stubbs
2e6d01ddff
Implement variable length single word SPI writes. (#5678) 2023-11-27 09:54:12 +13:00
Clyde Stubbs
dbdcb39af9
Pull PollingComponent up from individual display drivers to Display. (#5444) 2023-11-27 09:48:38 +13:00
Edward Firmo
ccd7f0661c
Add is_detected() for Nextion displays (#5825) 2023-11-25 02:38:45 -06: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
J. Nick Koston
1762204b00
dashboard: set nodelay on the websocket to avoid a delay seeing log messages (#5802) 2023-11-24 11:49:55 +13:00
Ilia Sotnikov
2076db1ccd
Pillow: bump to 10.1.0 (#5815) 2023-11-24 08:15:58 +13: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
matt7aylor
8738cef5a3
sen5x fix temperature compensation and gas tuning (#4901) 2023-11-23 08:48:38 +13:00
Keith Burzinski
b809d02846
Add some additional VA triggers, part 2 (#5811) 2023-11-22 10:09:14 +13:00
Jesse Hills
e7038d077a
Early return when there are no wifi scan results (#5797) 2023-11-21 14:24:47 +13:00
Pavlo Dudnytskyi
cf6b56c1ac
Haier component updated to support new protocol variations (#5713)
Co-authored-by: Pavlo Dudnytskyi <pdudnytskyi@astrata.eu>
2023-11-21 14:12:36 +13:00
J. Nick Koston
7d5ebeda52
dashboard: Fix online status when api is disabled (#5792) 2023-11-21 13:16:06 +13:00
Cody Cutrer
d5d97c4558
include payload_open when a lock supports OPEN (#5809) 2023-11-21 12:59:38 +13:00
Christian Schmitt
d462beea6e
ssd1306: handle V_COM differently for SH1106 (#5796) 2023-11-20 16:34:26 +13:00
Kevin P. Fleming
e367ab26e1
wifi: Don't build SoftAP/DHCPS support unless 'ap' is in config. (#5649) 2023-11-20 16:32:46 +13:00
J. Nick Koston
2aaee81313
Refactor StorageJSON to keep loaded_integrations a set until its converted to JSON (#5793)
* Refactor StorageJSON to keep loaded_integrations a set until its converted to a dict

after #5792 we will be checking loaded_integrations often. ESPHome
core keep uses a set, but it would get converted to a list when
passed through StorageJSON. Keep it a set until its needed to
be read/write to JSON so we do not have to linear searches on it
since they have a time complexity of O(n) vs O(1)

* legacy
2023-11-19 22:31:00 -05:00
J. Nick Koston
cd9bf29df1
dashboard: Add lookup by name to entries (#5790)
* Add lookup by name to entries

* adj

* tweak

* tweak

* tweak

* tweak

* tweak

* tweak

* preen
2023-11-19 22:29:40 -05: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
Keith Burzinski
8fbb4e27d1
Add 2MB option for partitions.csv generation and restore use of user-defined partitions (#5779) 2023-11-18 21:00:59 +13:00
J. Nick Koston
3c243e663f
dashboard: Add support for firing events (#5775)
* dashboard: fire events when entry is updated or state changes

* dashboard: fire events when entry is updated or state changes

* dashboard: fire events when entry is updated or state changes

* tweaks

* fixes

* remove typing_extensions

* rename for asyncio

* rename for asyncio

* rename for asyncio

* preen

* lint

* lint

* move dict converter

* lint
2023-11-17 19:33:10 -05:00
J. Nick Koston
288af1f4d2
Refactor log api client to let aioesphomeapi manage zeroconf (#5783)
aioesphomeapi is now smart enough to avoid creating a zeroconf instance
until its needed after https://github.com/esphome/aioesphomeapi/pull/643

This avoids the needs to have a background zeroconf instance running that
is processing incoming records but will never do anything
2023-11-17 18:50:40 -05:00
Nikita Kuklev
fefdb80fdc
Add proper support for SH1107 to SSD1306 component (#5166) 2023-11-16 21:06:03 +13:00
Mat931
754bd5b7be
Fix MY9231 flicker (#5765) 2023-11-16 20:45:08 +13:00
J. Nick Koston
10a9129b7b
Pass the name to the log runner when available (#5759) 2023-11-16 20:41:49 +13:00
Keith Burzinski
ef945d298c
Add more VA triggers (#5762) 2023-11-15 21:29:50 -06:00
J. Nick Koston
149d814fab
dashboard: Centralize dashboard entries into DashboardEntries class (#5774)
* Centralize dashboard entries into DashboardEntries class

* preen

* preen

* preen

* preen

* preen
2023-11-15 21:49:56 -05:00
J. Nick Koston
5f1d8dfa5b
dashboard: use fastest available yaml loader in the dashboard (#5771)
* dashboard: use fastest available yaml loader in the dashboard

* remove unrelated change
2023-11-15 19:08:17 -05:00
J. Nick Koston
3644853d38
dashboard: fix subprocesses blocking the event loop (#5772)
* dashboard: fix subprocesses blocking the event loop

- break apart the util module
- adds a new util to run subprocesses with asyncio

* take a list
2023-11-15 19:07:51 -05:00
J. Nick Koston
c795dbde26
dashboard: split dashboard web server code into its own module (#5770) 2023-11-15 21:34:09 +00:00
J. Nick Koston
86b4fdc139
dashboard: Break apart dashboard into separate modules (#5764)
* Break apart dashboard into seperate modules

* reduce code change

* late imports

* late imports

* preen

* remove accidental changes

* save the file
2023-11-15 13:00:28 -05:00
J. Nick Koston
20ea8bf06e
dashboard: convert ping thread to use asyncio (#5749) 2023-11-14 22:55:33 -06:00
J. Nick Koston
642db6d92b
Speed up OTAs (#5720) 2023-11-14 22:14:37 -06:00
J. Nick Koston
214b419db2
dashboard: Use mdns cache when available if device connection is OTA (#5724)
* Use mdns or freshen cache when device connection is OTA

Since we already have a service browser running, we likely
already know the IP of the deivce we want to connect to so
we can replace OTA with the address to avoid the esphome
app having to look it up again

* isort

* Fix zeroconf name resolution refactoring error

HostResolver should get the type as the first arg instead
of the name

* no i/o

* tornado support native coros

* lint

* use new tornado start methods

* use new tornado start methods

* use new tornado start methods

* break

* lint

* lint

* typing, missing awaits

* io in executor

* missed one

* fix: missing if

* stale comment

* rename run_command to build_device_command since it does not actually run anything
2023-11-14 21:21:44 -05:00
Jesse Hills
aecc6655db
Dont dump wifi info when disabled (#5755) 2023-11-14 21:57:25 +00:00
Jesse Hills
2754ddec1b
Allow setup to continue past mqtt if network/wifi is disabled (#5754) 2023-11-15 10:51:45 +13:00
Keith Burzinski
ae0e481cff
Generate partitions.csv based on flash size (#5697) 2023-11-14 13:47:29 +13:00
J. Nick Koston
f198be39d7
dashboard: Run get_serial_ports in the executor (#5740) 2023-11-14 13:46:51 +13:00
J. Nick Koston
08fc96b890
dashboard: remove usage of codecs module (#5741) 2023-11-14 13:44:49 +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
Jesse Hills
45276cc244
Handle wake word not set up internally (#5738) 2023-11-13 11:48:26 +13:00
Jimmy Hedman
684cf10230
Bump Arduino Pico Framework to 3.6.0 and Platform to 1.10.0 (#5731) 2023-11-13 07:28:02 +13:00
J. Nick Koston
53f3385c49
Migrate to using aioesphomeapi for the log runner to fix multiple issues (#5733) 2023-11-12 14:36:56 +13:00
Mike La Spina
6a5cea171e
Missed ifdefs (#5727) 2023-11-10 18:37:39 -06:00
J. Nick Koston
3363c8f434
Fix zeroconf name resolution refactoring error (#5725) 2023-11-10 22:55:21 +13:00
J. Nick Koston
3b891bc146
Speed up YAML by using YAML C loader when available (#5721) 2023-11-10 22:17:40 +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
01d28ce3fc
Add resistance_sampler interface for config validation (#5718) 2023-11-10 11:40:07 +13:00
Rodrigo Martín
ce020b1f9f
fix: Fix broken bluetooth_proxy and ble_clients after BLE enable/disable (#5704) 2023-11-08 23:35:37 +00:00
J. Nick Koston
cf22c55430
Fix static assets cache logic (#5700) 2023-11-08 21:04:01 +00:00
Jesse Hills
511348974e
Fix esp32_rmt_led_strip custom timing units (#5696) 2023-11-08 09:01:26 +00:00
Jesse Hills
972598a698
Handle nanoseconds in config (#5695) 2023-11-08 21:34:44 +13:00
Edward Firmo
d81bec860b
Nextion support to esp-idf (#5667)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-07 19:50:45 -06:00
Jesse Hills
fde7a04ee7
Bump version to 2023.12.0-dev 2023-11-08 13:13:56 +13:00
Keith Burzinski
9bd4b229e3
Handle on_disconnect when Wi-Fi is disabled (#5691) 2023-11-08 07:00:36 +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
J. Nick Koston
78e3ce7718
Implement a memory cache for dashboard entries to avoid frequent disk reads (#5687) 2023-11-07 19:04:55 +13: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
Daniel Baulig
708ed8f38a
[web_server] Adds the ability to handle Private Network Access preflight requests (#5669) 2023-11-07 13:59:03 +13:00
Edward Firmo
a8a9c6192d
Remove page jump on Nextion startup (#5673) 2023-11-06 18:48:15 -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
Jesse Hills
d141e1cd67
Remove extra code in old sgp40 (#5685) 2023-11-07 12:38:52 +13:00
Jesse Hills
43b36ac3c7
Allow static assets to be cached if not in debug mode (#5684) 2023-11-07 12:38:38 +13:00
J. Nick Koston
fce59819f5
Refactor dashboard zeroconf support (#5681) 2023-11-07 11:07:59 +13:00
marshn
b978985aa1
Add Byron Doorbell RF protocol (#4718) 2023-11-07 08:30:23 +13:00
Jesse Hills
84bbf02bde
ble_client rssi sensor fix when not connected (#5632) 2023-11-06 16:41:45 +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
DAVe3283
e0cee472c3
Fix compile with latest esp-idf on esp32c6 (#5677)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-05 23:13:01 +00:00
micw
3ee85d7516
Add callback for raw sml messages (#5668) 2023-11-06 10:27:11 +13:00
Pavlo Dudnytskyi
4ca9aefc43
Fixed int variables for user defined service in case of ESP32-C3 (#5675) 2023-11-06 09:28:50 +13:00
Patrick ZAJDA
4ef2e28496
Add basic shell autocompletion using argcomplete (#5618) 2023-11-06 09:27:14 +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
Jesse Hills
d74a8abf9a
Revert "Ensure that all uses of strncpy in wifi component are safe." (#5662) 2023-11-03 08:09:17 +13:00
NP v/d Spek
453600f18e
Update RTTTL component to allow I2S (#5177)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-11-02 17:14:05 +13:00
Jesse Hills
4edf3efdf3
Fix return value of run_external_command (#5657) 2023-11-02 17:06:09 +13:00
Jimmy Hedman
f70d651a39
Update mDNS component to 1.2.2 (#5654) 2023-11-02 16:56:02 +13:00
Clyde Stubbs
b0a400d82b
Update PCA9554 pin checks to new facility (#5656) 2023-11-02 03:46:47 +00:00
Jesse Hills
29b1233609
Validate sn74hc595 pin number are within range (#5655) 2023-11-02 16:45:00 +13:00
Jesse Hills
9eea52ea85
Allow validation of pins based on hub config (#5647) 2023-11-02 15:32:00 +13:00
Gustavo Ambrozio
40c001bdc2
Fix nextion waveform sending for multiple waveforms (#4408) 2023-11-01 20:09:12 -05:00
Clyde Stubbs
1fd9d67e2b
Add support for PCA9535 16 bit I/O expander (#5634) 2023-11-01 12:22:04 +13:00
Jimmy Hedman
9adda8085a
Remove some explicit IPAddress casts (#5639) 2023-11-01 10:32:29 +13:00
Kevin P. Fleming
b03eb5ea0a
Ensure that all uses of strncpy in wifi component are safe. (#5636) 2023-11-01 10:30:42 +13:00
Jesse Hills
193bac94f4
Add on_client_connected and disconnected to voice assistant (#5629) 2023-10-30 17:16:42 -05:00
Jesse Hills
27b593ba85
Add connection triggers to api (#5628) 2023-10-29 21:02:49 -05:00
Jesse Hills
0c46403eaf
Handle enum type in tuya text_sensor (#5626) 2023-10-29 22:00:47 +00:00
Dewet Diener
f36ec7c726
Fix bug when requesting italic gfonts (#5623) 2023-10-30 08:05:18 +13:00
Jimmy Hedman
01a16141f1
Fixes ip include on arduino 2.7.4 (#5620) 2023-10-30 07:35:33 +13:00
Keith Burzinski
7cf056e828
IDF 5 fixes for various components from test2.yaml (#5621) 2023-10-29 18:50:26 +13:00
Keith Burzinski
f7f63c9da1
IDF 5 fixes for various components from test4.yaml (#5622) 2023-10-29 18:49:19 +13:00
Keith Burzinski
d4cb29a380
Fix xpt2046 for IDF 5 (#5614) 2023-10-27 22:36:43 +00:00
H. Árkosi Róbert
563e15e8a7
Fix HA error related to incorrect state class (#5605) 2023-10-27 07:39:23 +00:00
Samuel Sieb
c83cb30935
refactor mcp4728 component (#5609)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-10-27 18:01:18 +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
Jesse Hills
0c5d5cd623
timeout filter: return value (#5612) 2023-10-27 16:36:54 +13:00
Jesse Hills
535568e065
Minor defines.h updates (#5610) 2023-10-27 16:16:44 +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
dentra
cfbf3681f3
Fallback to main secrets.yaml for packages (#5604) 2023-10-27 10:16:43 +13:00
dentra
f6e8d97981
Add details when error loading package (#5603) 2023-10-27 09:27:42 +13:00
tracestep
6b8a75d3b8
SX1509 output debounce fix (resolves esphome/issues#4402) (#4672) 2023-10-26 15:36:58 +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
Jesse Hills
4774200f6b
Print text mqtt command topic (#5601) 2023-10-26 13:37:06 +13:00
kahrendt
93056dead9
Add ignore out of range option for clamp filter (#5455)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-26 09:30:23 +13:00
kahrendt
841b24f744
Add support for Qwiic PIR binary sensor (#5194) 2023-10-26 08:29:21 +13:00
kahrendt
258b0fbff3
Fix: Incorporate unique serial number in preference's hash for multiple Sensirion sensors (#5479) 2023-10-26 08:23:55 +13:00
Roger Busser
fdef6c6d46
Update current_based_cover bugfix (#5587) 2023-10-26 07:31:39 +13:00
Eduard Llull
28aedae8d7
Add Emc2101 (#4491)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-26 07:30:11 +13:00
jpfaff
2895cc6c57
Add support for honeywellabp2 pressure sensor (#5422) 2023-10-26 07:28:07 +13:00
dentra
ec835c0b05
Fix exception handling when loading packages (#5569) 2023-10-26 07:15:25 +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
Keith Burzinski
cb2f5eb781
Set IP address type only when IPv4 and IPv6 are both enabled (#5595) 2023-10-23 23:43:54 +00: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
Edward Firmo
7e27e98bff
set Nextion protocol reparse mode (#5484) 2023-10-24 08:02:57 +13:00
Guillermo Ruffino
eead33b6f2
update storage version from mdns (#5584) 2023-10-24 08:02:29 +13:00
dentra
b898f75631
Allow set climate preset to NONE (#5588) 2023-10-24 07:29:32 +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
e3fbf54a1a
Set addr type when copy from ip4_addr_t (#5583) 2023-10-23 01:41:16 -05:00
Edward Firmo
3d7d0d4f73
Remove unnecessary checks in Nextion component (#5578) 2023-10-21 14:38:22 -05: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
Trent Houliston
d82471942f
Publish the pulse_meter total when setting the total (#5475) 2023-10-19 14:28:05 -07: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
Keith Burzinski
b632ae49d4
Improv Serial support via USB CDC and JTAG (#5559) 2023-10-19 19:53:09 +13:00
Jesse Hills
b9d72231b0
Fix XOR condition (#5567) 2023-10-18 21:36:01 -05:00
dependabot[bot]
53572dcb8a
Bump pyupgrade from 3.10.1 to 3.13.0 (#5428)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-19 13:08:44 +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
Mike La Spina
799c3cf439
Incorrect ESP32 Strapping PIN Defined (#5563)
Co-authored-by: descipher <120155735+GelidusResearch@users.noreply.github.com>
2023-10-19 13:00:15 +13:00
Jesse Hills
b7402ee6ff
Create IPv4 sockets if ipv6 is not enabled (#5565) 2023-10-19 12:25:43 +13:00
Jesse Hills
a8667b680e
esp32_improv add timeout (#5556) 2023-10-19 11:42:52 +13:00
Jesse Hills
19736f6e53
Fix voice_assistant without a speaker (#5558) 2023-10-18 09:12:35 +00:00
Keith Burzinski
cdc4f7f59b
IDF 5 fixes for various components from test1.yaml (#5451) 2023-10-18 19:33:36 +13:00
Jesse Hills
14aa27f5e2
esp32_improv advertise capabilities and state in ble service data (#5553) 2023-10-18 14:26:47 +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
Fabian Bläse
b0ac729a8e
SML: fix incomplete sign extension for abbreviated transmissions (#5544) 2023-10-18 07:39:05 +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
Jesse Hills
b12dc98150
Fix default libretiny manufacturer reported to HA (#5549) 2023-10-18 07:23:34 +13:00
Jesse Hills
a960c8008e
More voice assistant fixes (#5547) 2023-10-17 20:11:37 +13:00
Jesse Hills
fb90e19713
Fix esp32_improv authorizer with no binary sensors in config (#5546) 2023-10-17 20:03:39 +13:00
Jesse Hills
4913b3cc35
Add stream start and end events (#5545) 2023-10-17 17:18:05 +13:00
Christian
e42c51a222
Add change i2c address and allow multi conf for TB6612FNG (#5492) 2023-10-17 08:47:35 +13:00
raineth
26f12cd3bb
Make IPAddress's operator!= compare values, not memory addresses. (#5537)
Co-authored-by: Ben Winslow <rain@bluecherry.net>
2023-10-16 19:42:18 +13:00
Jesse Hills
06eff72065
Prometheus fix for esp-idf and fix newlines (#5536) 2023-10-16 19:41:59 +13:00
leoshusar
357ba1ab0f
Change UART source clock to UART_SCLK_DEFAULT when IDF >=v5 (#5533) 2023-10-16 11:29:13 +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
Jesse Hills
7ddcdab351
Add round sensor filter (#5532) 2023-10-14 13:07:23 +13:00
Cossid
da3e3903dd
BP1658CJ - Clear all channels before sleeping. (#5525) 2023-10-13 12:51:28 +13:00
Cossid
f5c12b50ce
SM10BIT_BASE - Add delays and ACKs, clear all channels before sleeping. (#5526) 2023-10-13 12:51:19 +13:00
Jesse Hills
33ebfd221e
Update Improv BLE component (#5518) 2023-10-13 12:46:46 +13:00
Cossid
7c890d8ebc
BD5758D - Add delays and ACKs (#5524) 2023-10-12 19:09:07 +00:00
Nippey
2910eb2ef7
Update htu21d.cpp, fix publishing of heater level (#5520) 2023-10-12 10:56:30 -07:00
Jesse Hills
11727391ad
Bump version to 2023.11.0-dev 2023-10-12 15:14:43 +13:00
Daniel Baulig
689dcd1e24
Add detail param to allow listing of select options in WebServer REST API (#5503) 2023-10-12 14:55:01 +13:00
Michael Hansen
2fc4e88271
Small fixes for voice assistant (#5513)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-12 14:51:29 +13:00
Mark Veinot
853d81c6dd
As3935 calibration (#5366) 2023-10-12 14:27:36 +13:00
NP v/d Spek
e35de626a4
Allow manual set "Invert_display" (#5494) 2023-10-12 14:26:07 +13:00
justdaniel-gh
41f29c46d0
Fix e131 and voice_assistant sockets (#5502)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-10 23:42:38 +00:00
Oleg Tarasov
9d95f5c1da
Added Nextion display error handling during setup (#5493) 2023-10-11 11:56:53 +13:00
Jimmy Hedman
c9a8911029
Prepare protobuf for ESP-IDF >= 5 (#5510) 2023-10-11 11:51:53 +13:00
Robert Resch
c77a9ad363
Don't allow entity category "CONFIG" for sensors (#5505)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-10 07:00:05 +00:00
Jesse Hills
511af5845e
Remote wake word support for voice assistant (#5229) 2023-10-10 19:52:42 +13:00
Oleg Tarasov
6b96089f02
Fixed precision for Nextion sensor with float values (#5497) 2023-10-09 19:16:12 -05:00
Jesse Hills
46be886ca6
Use platform consts (#5508) 2023-10-09 16:54:15 -05:00
Jesse Hills
be7e167c63
Deep sleep is only available on esp32 and esp8266 (#5507) 2023-10-10 09:41:28 +13:00
Ilia Sotnikov
c65d78f568
[Sprinkler] Initialize timers early to avoid crash (#5499) 2023-10-08 22:37:48 -05: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
Angel Nunez Mencias
aba3cd557a
add USE_SPI define (#5500) 2023-10-08 21:01:26 +00:00
Pavlo Dudnytskyi
7e7c83b3ca
Support for Haier IR protocol added (#5403) 2023-10-09 09:49:55 +13:00
Luke Ansell
ee4ccf2762
Increased debug message precision (#5496) 2023-10-09 09:20:43 +13:00
Austin
fa0dcac2c7
Initial ESP32-H2 Support (#5498) 2023-10-09 07:34:12 +13:00
Keith Burzinski
44e5b0c745
Move CONF_IRQ_PIN into const.py (#5488) 2023-10-06 00:28:51 -05:00
Clyde Stubbs
b6d5cb4142
St7789v and SPI data rate (#5472) 2023-10-04 15:18:33 -05:00
Clyde Stubbs
4e8cba49f1
MAX7219 - Update intensity (#5477) 2023-10-03 20:15:44 -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
050fa0d4c1
Fix units for SPS30 number concentration sensors (#5452) 2023-10-03 23:01:57 +13:00
kahrendt
88bb051f37
Add xor automation condition (#5453) 2023-10-03 22:58:11 +13:00
Faidon Liambotis
f38849828d
Tuya Number: split "multiply" to a separate option (#5458) 2023-10-03 13:23:18 +13:00
dwildstr
e95ba57a61
Sleep mode fix for BP5758D driver (#5461)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-10-02 23:06:54 +00:00
Clyde Stubbs
205f41509b
Support RP2040 hardware SPI (#5466) 2023-10-03 10:24:20 +13:00
Maxime Gauduin
e87c8d550b
add pin config for denky_d4 (#5471) 2023-10-02 21:15:29 +00:00
De Cock Xavier
a33b8abce8
Feat/component poller suspend (#5423) 2023-10-03 09:25:13 +13:00
Angel Nunez Mencias
0b5a57ead4
Fix SPI support for second bus on 2023.9.1 (#5456) 2023-09-29 23:34:56 +00:00
John K. Luebs
b3dc2d43a5
Do not enable SHT3x heater by default. Fixes #4886. (#5445) 2023-09-29 18:27:40 -05:00
De Cock Xavier
d3913be7e5
[ssd1351] fix: wait for the component to be at least in setup phase b… (#5454) 2023-09-29 17:08:56 -05:00
leoshusar
2c94c3d96f
[BP1658CJ] Missing clock line delays and ack bit (#5448)
* fix: missing clock line delays and ack bit

* chore: remove esphome namespace from delay methods

* style: removed trailing whitespace
2023-09-29 16:40:56 +13:00
Avri Chen-Roth
4d81153150
Fix an Issue with IR Remote Climate and Whirlpool protocol toggle (#5447)
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-29 14:17:32 +13:00
Clyde Stubbs
507dc5f496
SPI fixes for buggy components (#5446) 2023-09-29 00:36:31 +00:00
Jesse Hills
4ac4492241
Fix .esphome path when not using envvar (#5440) 2023-09-28 11:20:44 +13:00
Jimmy Hedman
57b7dd0fa2
Refactor ip address representation (#5252) 2023-09-27 21:38:43 +13:00
Marc J
9d4f471855
Tuya Number Scaling by step value (#5108) 2023-09-27 07:45:21 +00:00
Clyde Stubbs
5360e14a9c
Fix #4896 and #4903 (#5433) 2023-09-27 12:25:14 +13:00
Guillermo Ruffino
86db559f6e
Wireguard keepalive remove uint16 type (#5430) 2023-09-27 12:25:00 +13:00
Kuba Szczodrzyński
2f7a378c7b
LibreTiny: enable MQTT, bump to v1.4.1 (#5419) 2023-09-27 10:23:21 +13:00
Kapil Yedidi
17e1d4c245
Fix typo in documentation (#5425) 2023-09-25 12:05:56 +13:00
Odd Stråbø
727056a28c
dallas: limit addresses to 64 bits (#5413) 2023-09-25 10:15:28 +13:00
Ilia Sotnikov
0ca8dcd08e
[RP2040W] Fix WiFi bootloop upon LibreTiny support (#5414) 2023-09-24 22:44:55 +13:00
Andrew Garrett
3c7c4e1dba
Make ESPHome data dir configurable (#5417) 2023-09-24 22:34:37 +13:00
Clyde Stubbs
518ecb4cc4
Fix SPI inverted clock on ESP8266 (#5416) 2023-09-21 21:15:50 -07: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
Trent Houliston
2c2821cd96
Make the pulse meter timeout on startup when no pulses are received (#5388) 2023-09-21 10:04:03 +12:00
Kevin P. Fleming
157a3e53dd
http_request: Cleanups and safety improvements (#5360) 2023-09-21 10:02:29 +12:00
Anthony
61edf8c196
Remove Wi-Fi dependency from Midea component (#5394) 2023-09-21 09:30:22 +12:00
Joris S
397f57ce74
Climate preset fix (#5407) 2023-09-21 09:28:03 +12:00
Samuel Sieb
bf253c21fa
fix handling of web server version (#5405)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-09-21 09:25:16 +12:00
Samuel Sieb
e3eef1cc6d
fix disabled wifi power on 8266 (#5409)
Co-authored-by: Samuel Sieb <samuel@sieb.net>
2023-09-21 09:20:54 +12:00
Philipp Helo Rehs
11f6e555f9
Add E-Trailer Gaslevel support to Mopeka Std Check (#5397)
* Add E-Trailer Gaslevel support to Mopeka Std Check

Signed-off-by: Philipp Helo Rehs <Philipp.Rehs@hhu.de>

* fix format

---------

Signed-off-by: Philipp Helo Rehs <Philipp.Rehs@hhu.de>
Co-authored-by: Philipp Helo Rehs <Philipp.Rehs@hhu.de>
2023-09-17 17:30:52 +12:00
Trevor North
a61e3fadf6
Add shelly-dimmer-stm32 51.7 to known versions (#5400)
This version removes support for no-neutral setups in favor of fixing flickering some users have experienced.
2023-09-17 17:20:31 +12:00
rmmacias
b5f2d69ca5
Update radon_eye_listener.cpp (#5401)
New devices identifiers do not star by the hardcoded string. FR:RE222 is the 8-char length string of my devices bought in 2023. This proposal aims at solve the topic by making the detection track devices starting only by FR:R
2023-09-17 17:18:51 +12:00
phoenixswiss
55b5c0fc32
Fix Waveshare 7.5v2 epaper screens are always powered on (#5283) 2023-09-14 06:20:21 +00:00
Jesse Hills
9d97807587
Bump version to 2023.10.0-dev 2023-09-13 14:22:39 +12:00
vr6racer
11433c8c17
SX1509 component (#5385) 2023-09-13 14:14:54 +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
rufuswilson
b8fa737bc9
Force heater off on setup (#5161)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-09-13 10:20:00 +12:00
Tercio Filho
bf5352b44e
Modbus Controller added some features (#5318) 2023-09-13 10:15:01 +12:00
Jimmy Hedman
dadbc1aefa
Enable IPv6 for ESP8266 and Raspberry pi pico w (RP2040) (#4759) 2023-09-13 08:05:02 +12:00
Jesse Hills
fc354eec0e
Attempt to fix rp2040 adc with vcc (#5378) 2023-09-12 14:14:10 +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
Stijn Tintel
c930c86cfa
debug: add ESP32-C6 support (#5354) 2023-09-12 08:19:26 +12:00
Péter Sárközi
d3196e0e34
Fix disabled wifi crash on boot (#5370) 2023-09-12 08:12:56 +12:00
Kevin P. Fleming
deb34c9473
time: Make std::string version of strftime() avoid runaway memory allocations (#5348) 2023-09-12 08:02:07 +12:00
Kuba Szczodrzyński
892d2ce34f
Bump LibreTiny version to 1.4.0 (#5375) 2023-09-12 07:15:24 +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
Kevin P. Fleming
0c84224ca2
Move CONF_PHASE_A/B/C constants to const.py. (#5304) 2023-09-09 18:19:54 -05:00
Ilia Sotnikov
7bb67ae94b
[ADC] Support measuring VCC on Raspberry Pico (W) (#5335)
* [ADC] Support measuring VCC on Raspberry Pico (W)

Added support for measuring VCC on Raspberry Pico (W) with ADC.
GPIO pin is provided as `VCC`, same as with ESP8266. VSYS is the voltage
being actually processed, and might have an offset from actual power
supply voltage (e.g. USB on VBUS) due to voltage drop on
Schottky diode between VSYS and VBUS on Rasberry Pico. The offset has
experimentally been found to be ~0.25V on Pico W and ~0.1 on Pico,
presumably due to different power consumption.

Example usage:

	sensor:
	  - platform: adc
	    pin: VCC
	    name: "VSYS"

* + Added tests for VCC measuring on `rpipicow` board
2023-09-09 04:00:45 -05:00
Kuba Szczodrzyński
9cf115a752
Fix dashboard download for ESP32 variants (#5355) 2023-09-09 09:20:26 +12:00
Péter Sárközi
d9523a0cbf
Fix repeat.count = 0 case (#5364)
* Only play first action if count is non-zero

* Add test to  yaml

* Update test5.yaml
2023-09-09 09:10:20 +12:00
Clyde Stubbs
5c26f95a4b
Refactor SPI code; Add ESP-IDF hardware support (#5311)
* 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
Keith Burzinski
ce171f5c00
Fix cpu_ll_get_cycle_count() deprecated warning (#5353) 2023-09-07 21:49:12 +12:00
Keith Burzinski
ab872b075a
Fix PN532 for IDF 5 and ultralight enhancements (#5352) 2023-09-07 21:48:44 +12:00
Jesse Hills
87395d259e
Allow "--device SERIAL" on cli to flash only via serial (#5351) 2023-09-06 20:22:39 -05:00