Jonathan Swoboda
ab1d2de78e
[clang-tidy] Concatenate nested namespaces (4/7: components n-r) ( #16301 )
2026-05-07 23:28:30 +00:00
J. Nick Koston
becb6559f1
[components] Remove redundant setup priority overrides that duplicate default ( #13745 )
2026-02-04 10:48:41 -06:00
J. Nick Koston
75a78b2bf3
[core] Encapsulate entity preference creation to prepare for hash migration ( #13505 )
2026-01-26 17:35:45 -10:00
J. Nick Koston and Copilot
d2752b38c9
[core] Fix preference storage to account for device_id ( #10333 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-08-25 12:22:16 +12:00
J. Nick Koston
b7ce8c116b
[core] Centralize component setup logging to reduce flash usage ( #9885 )
2025-07-25 19:27:03 +00:00
487e1f871f
use `encode_uintXX` ( #8847 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-06-11 17:06:45 +12:00
Keith Burzinski
d99e3237f9
Streamline setup() logging (n, o, p, q, r) ( #8929 )
2025-05-29 07:23:53 +12:00
Edward Firmo
88742e0399
[rotary_encoder] Fix volatile increment/decrement deprecation warnings ( #7958 )
2024-12-14 08:16:11 +11:00
Keith Burzinski
567256bd62
[rotary_encoder] clang-tidy fixes for #7822 ( #7880 )
2024-11-28 11:21:10 +13:00
Clyde Stubbs
dfb14fc6ea
Add state listeners to rotary_encoder ( #6035 )
2024-03-11 20:13:41 +13:00
Maurice Makaay and Maurice Makaay
f8969605e8
Suppress first rotary encoder event ( #3532 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net >
2022-06-07 11:36:54 +12:00
Jesse Hills
ad6c5ff11d
Clamp rotary_encoder restored value to min and max ( #3184 )
2022-02-09 23:12:05 +01:00
Oxan van Leeuwen
a31700e16f
Enable readability-qualified-auto check ( #3095 )
2022-01-23 20:29:58 +13:00
niklasweber
379c3e98f5
Add restore_mode to rotary_encoder ( #2643 )
2021-11-03 07:32:24 +13:00
niklasweber
980c2d4cae
Add publish_initial_value option to rotary encoder ( #2503 )
2021-10-28 08:09:37 +13:00
Otto Winter and Jesse Hills
ac0d921413
ESP-IDF support and generic target platforms ( #2303 )
...
* Socket refactor and SSL
* esp-idf temp
* Fixes
* Echo component and noise
* Add noise API transport support
* Updates
* ESP-IDF
* Complete
* Fixes
* Fixes
* Versions update
* New i2c APIs
* Complete i2c refactor
* SPI migration
* Revert ESP Preferences migration, too complex for now
* OTA support
* Remove echo again
* Remove ssl again
* GPIOFlags updates
* Rename esphal and ICACHE_RAM_ATTR
* Make ESP32 arduino compilable again
* Fix GPIO flags
* Complete pin registry refactor and fixes
* Fixes to make test1 compile
* Remove sdkconfig file
* Ignore sdkconfig file
* Fixes in reviewing
* Make test2 compile
* Make test4 compile
* Make test5 compile
* Run clang-format
* Fix lint errors
* Use esp-idf APIs instead of btStart
* Another round of fixes
* Start implementing ESP8266
* Make test3 compile
* Guard esp8266 code
* Lint
* Reformat
* Fixes
* Fixes v2
* more fixes
* ESP-IDF tidy target
* Convert ARDUINO_ARCH_ESPxx
* Update WiFiSignalSensor
* Update time ifdefs
* OTA needs millis from hal
* RestartSwitch needs delay from hal
* ESP-IDF Uart
* Fix OTA blank password
* Allow setting sdkconfig
* Fix idf partitions and allow setting sdkconfig from yaml
* Re-add read/write compat APIs and fix esp8266 uart
* Fix esp8266 store log strings in flash
* Fix ESP32 arduino preferences not initialized
* Update ifdefs
* Change how sdkconfig change is detected
* Add checks to ci-custom and fix them
* Run clang-format
* Add esp-idf clang-tidy target and fix errors
* Fixes from clang-tidy idf round 2
* Fixes from compiling tests with esp-idf
* Run clang-format
* Switch test5.yaml to esp-idf
* Implement ESP8266 Preferences
* Lint
* Re-do PIO package version selection a bit
* Fix arduinoespressif32 package version
* Fix unit tests
* Lint
* Lint fixes
* Fix readv/writev not defined
* Fix graphing component
* Re-add all old options from core/config.py
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2021-09-20 11:47:51 +02:00
Stefan Agner
501f88ca86
Avoid non-const globals and enable clang-tidy check ( #1892 )
2021-06-11 08:19:44 +12:00
mknjc
02dc49c272
Rotary Encoder: Don't call callbacks in the isr ( #1456 )
2021-01-11 08:05:53 +13:00
Jesse Hills
20dd744680
Add on_clockwise and on_anticlockwise triggers to rotary encoder ( #1330 )
2020-11-02 06:24:26 +13:00
Otto Winter
3fdb68cba8
Fix ESP32 rotary encoder ( #834 )
...
* Fix ESP32 rotary encoder
Fixes https://github.com/esphome/issues/issues/672
* Update rotary_encoder.cpp
* Lint
2019-11-05 22:26:06 +01:00
Otto Winter
3012fee013
Fix Rotary Encoder ( #580 )
...
Fixes https://github.com/esphome/issues/issues/360
2019-05-31 10:37:40 +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