Commit graph

7766 commits

Author SHA1 Message Date
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
fcd549e5b6
Run python tests on windows and macos (#6010)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2024-01-09 12:18:13 +09:00
dependabot[bot]
aa8a533da6
Bump black from 23.12.0 to 23.12.1 (#6018) 2024-01-08 16:12:08 -10:00
dependabot[bot]
97be209aec
Bump pytest-asyncio from 0.23.2 to 0.23.3 (#6047) 2024-01-08 16:11:48 -10:00
J. Nick Koston
6dfdcff66c
dashboard: refactor ping implementation to be more efficient (#6002) 2024-01-09 10:35:43 +09:00
dependabot[bot]
87301a2e76
Bump pytest from 7.4.3 to 7.4.4 (#6046)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 15:33:50 -10:00
J. Nick Koston
2be19c4e45
Bump recommended ESP32 IDF to 4.4.6 (#6048) 2024-01-09 10:13:18 +09:00
J. Nick Koston
d9def0cb3a
Bump hypothesis to 6.92.1 (#6011) 2024-01-09 10:08:50 +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
dependabot[bot]
886d1a2d00
Bump flake8 from 6.1.0 to 7.0.0 (#6058)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-09 09:38:50 +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
a2e152ad12
clang-format and clang-tidy scripts: More robust algorithm to find correct executable (#6041)
* More robust algorithm to find correct executable

* Revise message wording

* Add clang-tidy and clang-format to requirements.txt.
Add to message explaining install process.

* Extracted get_binary to helpers.py. Use execptions for clean exit.

* Add parameter types

* clang-{tidy,format} in requirements_test.txt
clean up script exit

* Kill processes on ^C

* Move clang-tidy and clang-format into requirements_dev.txt
2024-01-02 23:00:52 -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
Jesse Hills
41dc73d228
Merge pull request #6017 from esphome/bump-2023.12.5
2023.12.5
2023-12-26 02:44:59 +13:00
Jesse Hills
6ceefe08ab
Bump version to 2023.12.5 2023-12-25 22:24:13 +09:00
J. Nick Koston
21e5806a73
Fix docker builds (#6012) 2023-12-25 22:24:13 +09:00
Jesse Hills
4fd79fee2c
Merge pull request #6016 from esphome/bump-2023.12.4
2023.12.4
2023-12-26 01:45:41 +13:00
Jesse Hills
4c8c4a2579
Bump version to 2023.12.4 2023-12-25 21:14:55 +09:00
NP v/d Spek
b68420b2cc
Display: fix class inherence in Python script (#6009) 2023-12-25 21:14:55 +09:00
J. Nick Koston
7bce999bba
dashboard: Fix file writes on Windows (#6013) 2023-12-25 21:14:55 +09:00
NP v/d Spek
dc0cc0b431
tt21100: restore init read (#6008) 2023-12-25 21:14:55 +09:00
J. Nick Koston
0990d0812e
dashboard: Only ping when polling is active (#6001)
fixes https://github.com/esphome/issues/issues/5257
2023-12-25 21:14:55 +09: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
de6fc6b1dd
Fix docker builds (#6012) 2023-12-24 22:57:15 +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
35388cf2a2
Merge pull request #5994 from esphome/bump-2023.12.3
2023.12.3
2023-12-22 21:42:41 +13:00
Jesse Hills
417e37d291
Bump version to 2023.12.3 2023-12-22 17:12:42 +09:00
Jesse Hills
7dc35a1029
Fix broken configs with non-existent components (#5993) 2023-12-22 17:12:42 +09:00