Jesse Hills
3b20969171
[core] Add typing to some core files ( #10843 )
2025-09-23 09:32:13 -05:00
Jesse Hills
9ea3643b74
[core] os.path -> Path ( #10654 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-09-19 12:59:48 +00:00
Jonathan Swoboda
e218f16f0f
Allow both files and directories to be passed to update-all ( #10575 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-09-09 18:06:59 -05:00
J. Nick Koston
5a8f722316
Optimize subprocess performance with close_fds=False ( #10145 )
2025-08-11 09:14:13 +12:00
J. Nick Koston
bc03538e25
Support multiple --device arguments for address fallback ( #10003 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-08-05 16:40:46 +12:00
J. Nick Koston
6a5eb460ef
[esp32] Add framework migration warning for upcoming ESP-IDF default change ( #10030 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-04 14:27:05 +12:00
J. Nick Koston
ffebd30033
[ruff] Enable SIM rules and fix code simplification violations ( #9872 )
2025-07-25 18:26:08 +12:00
J. Nick Koston
02999195cd
Add helpful error message when ESP32+Arduino runs out of flash space ( #9580 )
2025-07-17 12:13:55 +12:00
Thomas Rupprecht
aeb4e63950
update minimal python version to 3.10 ( #8850 )
2025-05-22 13:21:43 +12:00
Jesse Hills
e64709c37e
[code-quality] Organise core imports ( #7149 )
2024-07-29 14:07:44 +12:00
Clyde Stubbs
d9792b0d92
Checks for pins used in multiple places ( #5666 )
2023-12-05 08:56:53 +09:00
Jesse Hills
4edf3efdf3
Fix return value of run_external_command ( #5657 )
2023-11-02 17:06:09 +13:00
Jesse Hills
9eea52ea85
Allow validation of pins based on hub config ( #5647 )
2023-11-02 15:32:00 +13:00
Kuba Szczodrzyński
056a28906b
Wizard: fix colored text in input prompts ( #5313 )
2023-09-21 10:09:23 +12:00
Quentin Smith
19900b004b
Fix type annotation on extract_registry_entry_config
( #3623 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-10-12 15:15:03 +13:00
Jesse Hills
d220d41182
Bump python min to 3.9 ( #3871 )
2022-10-05 20:09:27 +13:00
dependabot[bot]
29045b0435
Bump pylint from 2.13.9 to 2.14.3 ( #3589 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-06-21 16:27:33 +12:00
Oxan van Leeuwen
2f46267994
Add cv.require_esphome_version helper ( #3103 )
2022-01-24 20:10:27 +01:00
Oxan van Leeuwen
fbe1bca1b9
Fix compilation using subprocesses ( #2834 )
2021-12-01 17:37:24 +01:00
Otto Winter
b5b3914bbf
Re-raise keyboardinterrupt ( #2603 )
2021-10-22 14:14:07 +02:00
Otto Winter
64a45dc6a6
Move running process log line to debug level ( #2565 )
2021-10-20 20:15:09 +02:00
Jesse Hills
fa2eb46cd6
Allow .yml files to show up in the dashboard ( #2257 )
2021-09-08 16:11:09 +12:00
Oxan van Leeuwen
d436409153
Support multiple configuration directories for update-all subcommand ( #1925 )
2021-08-11 17:21:57 +12:00
Guillermo Ruffino
69879920eb
add-black ( #1593 )
...
* Add black
Update pre commit
Update pre commit
add empty line
* Format with black
2021-03-07 16:03:16 -03:00
Otto Winter
e8272759be
Try to fix serial ports listing ( #1155 )
2020-07-24 10:09:43 +02:00
Tim Savage
aff4f1e9e2
Bugfix/1077 decode called on str fetching platformio stacktrace ( #991 )
...
* Remove decode from str result, add type annotations
2020-03-11 17:22:45 -07:00
Wilmar den Ouden
828e291538
fix: only decode when not str already ( #923 )
...
Signed-off-by: wilmardo <info@wilmardenouden.nl >
2019-12-30 23:23:03 -03:00
Otto Winter
056c72d50d
Drop Python 2 Support ( #793 )
...
* Remove Python 2 support
* Remove u-strings
* Remove docker symlinks
* Remove from travis
* Update requirements
* Upgrade flake8/pylint
* Fixes
* Manual
* Run pyupgrade
* Lint
* Remove base_int
* Fix
* Update platformio_api.py
* Update component.cpp
2019-12-07 18:28:55 +01:00
Otto Winter
694395ac91
Switch to 115200 baud upload if 460800 fails ( #856 )
...
* Switch to 115200 baud upload if 460800 fails
* Update __main__.py
2019-11-14 12:42:50 +01:00
Otto Winter
80214640b1
Filter some debug lines from PlatformIO in output ( #771 )
...
* Filter some debug lines from PlatformIO in output
* Lint
* Strip trailing newline from esp-idf output
* Only create global std::string if on esp32
2019-10-19 14:04:14 +02:00
Otto Winter
af35c9258e
Py3 Updates
2019-10-18 16:58:29 +02:00
Fabian Affolter
7a43231c43
Support for Python 3 ( #702 )
...
* Support for Python 3
* Add later Python releases
* Remove Python 3.6
* Re-enable Python 2.7
* Remove platformio-core zip archive
* Re-enable Python 2.7
* Fixes for python 3
Co-Authored-By: C W <fake-name@users.noreply.github.com >
2019-10-18 16:51:16 +02:00
Otto Winter
7a895adec9
Dashboard Update all button ( #615 )
...
* Add update all button
* Use bold
2019-06-07 14:26:28 +02:00
Otto Winter
b5e75793e1
Fix validation infinite loop with empty platform block ( #598 )
...
* Fix validation infinite loop with empty platform block
* Update util.py
2019-06-03 09:41:33 +02:00
Otto Winter
8e75980ebd
Cleanup dashboard JS ( #491 )
...
* Cleanup dashboard JS
* Add vscode
* Save start_mark/end_mark
* Updates
* Updates
* Remove need for cv.nameable
It's a bit hacky but removes so much bloat from integrations
* Add enum helper
* Document APIs, and Improvements
* Fixes
* Fixes
* Update PULL_REQUEST_TEMPLATE.md
* Updates
* Updates
* Updates
2019-04-22 21:56:30 +02:00
Otto Winter
6682c43dfa
🏗 Merge C++ into python codebase ( #504 )
...
## Description:
Move esphome-core codebase into esphome (and a bunch of other refactors). See https://github.com/esphome/feature-requests/issues/97
Yes this is a shit ton of work and no there's no way to automate it :( But it will be worth it 👍
Progress:
- Core support (file copy etc): 80%
- Base Abstractions (light, switch): ~50%
- Integrations: ~10%
- Working? Yes, (but only with ported components).
Other refactors:
- Moves all codegen related stuff into a single class: `esphome.codegen` (imported as `cg`)
- Rework coroutine syntax
- Move from `component/platform.py` to `domain/component.py` structure as with HA
- Move all defaults out of C++ and into config validation.
- Remove `make_...` helpers from Application class. Reason: Merge conflicts with every single new integration.
- Pointer Variables are stored globally instead of locally in setup(). Reason: stack size limit.
Future work:
- Rework const.py - Move all `CONF_...` into a conf class (usage `conf.UPDATE_INTERVAL` vs `CONF_UPDATE_INTERVAL`). Reason: Less convoluted import block
- Enable loading from `custom_components` folder.
**Related issue (if applicable):** https://github.com/esphome/feature-requests/issues/97
**Pull request in [esphome-docs](https://github.com/esphome/esphome-docs ) with documentation (if applicable):** esphome/esphome-docs#<esphome-docs PR number goes here>
## Checklist:
- [ ] The code change is tested and works locally.
- [ ] Tests have been added to verify that the new code works (under `tests/` folder).
If user exposed functionality or configuration variables are added/changed:
- [ ] Documentation added/updated in [esphomedocs](https://github.com/OttoWinter/esphomedocs ).
2019-04-17 12:06:00 +02:00
Otto Winter
f3ee5b55e9
Add warning if esphome-core dev used without esphome dev
2019-02-28 10:11:05 +01:00
Otto Winter
3d9301a0f7
Rename esphomeyaml to esphome ( #426 )
...
* Rename
* Update
* Add migration
* Fix
* Fix dashboard
* Change test
* Fixes
* Code cleanup
* Fix import order
* Update
* Automate docker builds
* Shellcheck
2019-02-13 16:54:02 +01:00