1
0
mirror of https://github.com/esphome/esphome.git synced 2025-07-04 06:03:14 +01:00
Commit Graph

153 Commits

Author SHA1 Message Date
c6f528583b Proposal: Test yaml for each component ()
* 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
e39099137d update script/setup so it works fine on windows () 2024-01-15 11:08:10 +09:00
a2e152ad12 clang-format and clang-tidy scripts: More robust algorithm to find correct executable ()
* 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
d2d0058386 Lint the script folder files () 2023-12-22 16:03:47 +09:00
1e77271858 Fix regex for 'byte' custom CI check () 2023-11-28 16:07:29 +13:00
91f1aa05ad Run all tests when local testing. () 2023-11-25 10:18:36 +11:00
cdcb25be8e Make precommit checks happy () 2023-11-15 12:38:36 +13:00
e80bd8ed3d Add text component ()
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
5d5cc96017 fix build lang schema for spi and i2c () 2023-10-11 11:52:40 +13:00
c9a8911029 Prepare protobuf for ESP-IDF >= 5 () 2023-10-11 11:51:53 +13: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
cd514b140e Bump platformio from 6.1.7 to 6.1.9 ()
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-08-08 14:31:49 +12:00
cd72a2ed7e Bump clang-tidy from 11 to 14 () 2023-07-31 07:44:56 +12:00
899aa31df3 Mark repo as safe directory to git config () 2023-07-17 09:19:08 +12:00
7a551081ee web server esp idf suppport ()
* initial web_server_idf implementation

* initial web_server_idf implementation

* fix lint errors

* fix lint errors

* add captive_portal support

* fix lint errors

* fix lint errors

* add url decode

* Increase the max supported size of headers section in HTTP request

* add ota support

* add mulipart form data support (ota required)

* make linter happy

* make linter happy

* make linter happy

* fix review marks

* add DefaultHeaders support

* add DefaultHeaders support

* unify file names

* using std::isnan

* parse multipart requests only when ota enabled

* parse multipart requests only when ota enabled

* parse multipart requests only when ota enabled

* parse multipart requests only when ota enabled

* parse multipart requests only when ota enabled

* drop multipart request support

* drop multipart request support

* drop multipart request support

* OTA is disabled by default

* fail when OTA enabled on IDF framework

* changing file permissions to remove execute bit

* return back PGM_P and strncpy_P macro

* temp web_server fix to be compat with 2022.12

* fix config handling w/o web_server

* fix compilation with "local"

* fully remove all idf ota

* merge with esphome 2023.6

* add core/hal to web_server_base

* Update esphome/components/web_server_base/__init__.py

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

* Update __init__.py

* Update __init__.py

---------

Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-07-11 19:08:03 -05:00
677b2c6618 display: split DisplayBuffer and Display () 2023-07-05 14:33:26 -05:00
fe0404a084 Some tests wasn't running (locally) () 2023-07-05 10:33:46 +12:00
2a2d20a7fc support empty schemas and one platform components () 2023-06-26 09:38:36 +12:00
e8ce7048d8 Fix pypi release () 2023-06-21 16:36:54 +12:00
f7c0ec6595 proto generation updates () 2023-06-12 17:00:34 +12:00
8a518f0def Add transparency support to all image types () 2023-05-22 08:03:21 +12:00
c835b67bac Add host target platform ()
Co-authored-by: Otto winter <otto@otto-winter.com>
2023-05-10 11:38:18 +12:00
3498aade85 update schema gen to 2023.4.0 () 2023-05-04 10:18:45 +12:00
57e909e790 Only pre-install libraries in docker images () 2023-05-01 15:57:57 +12:00
6476357596 Expand the platformio dep installer to also install platforms and tools () 2023-04-27 12:26:06 +12:00
99638190cb VSCode / devcontainer updates () 2023-04-03 19:44:46 +00:00
a014d853a4 Synchronise Device Classes from Home Assistant ()
* Synchronise Device Classes from Home Assistant

* Remove count do the `DEVICE_CLASSES` list is also updated

* Format file

---------

Co-authored-by: esphomebot <esphome@nabucasa.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-29 02:47:00 +00:00
14e38f0469 Upgrade clang-format to v13 ()
* Upgrade clang-format to v13

* Apply clang-format-13 formatting changes

* Format

* Format bme_680

---------

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2023-03-20 03:38:41 +00:00
66eecd3675 NeoPixel - Add support for ESP32-S3 () 2023-02-19 13:38:27 +00:00
9aed758d1b Automate syncing device classes with HA ()
* Sync device classes with HA

* Rename blacklist
2023-02-16 00:28:12 +00:00
6ad9baa870 Add API for dashboard to get boards list () 2022-12-07 16:07:51 +13:00
eb664b99ba preprocess out proto_enum_to_string if not needed () 2022-11-30 08:30:00 +13:00
56de8e5cc4 Always use generated api options from aioesphomeapi () 2022-11-29 16:14:45 +13:00
c1f696c32a fix display_menu recursive schema gen () 2022-11-21 21:43:01 -03:00
c2e198311c Update esp32 arduino and platform versions () 2022-11-21 11:49:30 +13:00
6153bcc6ad Initial Support for RP2040 platform ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-10-20 16:50:39 +13:00
d220d41182 Bump python min to 3.9 () 2022-10-05 20:09:27 +13:00
72cce391ab Fix some typos found by codespell () 2022-06-27 18:02:46 -03:00
f002a23d2d Language schema 202204 () 2022-06-17 13:46:20 +12:00
b0bd9e0a34 protobuf: fix incomplete 64 bits implementation () 2022-04-04 08:38:44 +12:00
05dc97099a New vscode schema gen () 2022-04-03 19:30:22 +12:00
34c9d8be50 Lint trailing whitespace () 2022-02-19 14:46:27 +01:00
40e06c9819 Raise minimum python version to 3.8 () 2022-02-10 09:55:11 +01:00
5c22065135 Change most references from hassio to ha-addon () 2022-02-09 23:46:20 +13:00
21803607e7 Add new Lock core component ()
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-02-04 07:24:31 +13:00
ef832becf1 Create base touchscreen component and refactor ektf2232 ()
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
2022-01-26 16:26:46 +13:00
2a84db7f85 Refactor fan platform to resemble climate/cover platforms ()
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl>
Co-authored-by: rob-deutsch <robzyb+altgithub@gmail.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
2022-01-23 22:21:54 +13:00
d8e719d1c4 Support clang-tidy for ESP32 variants () 2022-01-05 21:30:15 +01:00
ffea3597f4 Set correct include_dir in platformio.ini () 2022-01-04 21:59:34 +01:00
193d3e0206 Fix clang-tidy with multiple ESP32 toolchains installed () 2022-01-05 08:34:17 +13:00