Jonathan Swoboda and Claude Opus 4.6
5b9cab02be
[multiple] Add default initializers to uninitialized member variables ( #14636 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 22:37:54 -04:00
J. Nick Koston and Copilot
e12ed08487
[wifi] Add CompactString to reduce WiFi scan heap fragmentation ( #13472 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-11 21:24:24 +00:00
J. Nick Koston
e2319ba651
[wifi_info] Fix missing state when both IP+DNS or SSID+BSSID configure ( #13385 )
2026-01-20 07:55:59 -10:00
J. Nick Koston
47ee2f4ad9
[wifi] Use StaticVector for WiFi listeners with per-type compile-time sizing ( #13197 )
2026-01-14 02:20:39 +00:00
J. Nick Koston
6d1f6a1084
[wifi_info] Eliminate heap churn in text sensors ( #13031 )
2026-01-06 17:53:54 -10:00
J. Nick Koston
f243e609a5
[wifi] Use StringRef and std::span in WiFiConnectStateListener to avoid allocations ( #12672 )
2025-12-27 08:35:58 -10:00
J. Nick Koston
bdc087148a
[wifi_info] Reduce heap allocations in text sensor formatting ( #12660 )
2025-12-26 12:52:41 -10:00
Kevin Ahrendt and J. Nick Koston
a8518d3cea
[wifi, wifi_info] Add a WiFi power mode text sensor ( #11480 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-12-04 09:18:59 +13:00
Keith Burzinski
dbc16ce468
[wifi_info] Fix compilation error when using only mac_address sensor, add tests ( #12222 )
2025-12-01 02:48:47 -06:00
J. Nick Koston
26e979d3d5
[wifi] Replace std::function callbacks with listener interfaces ( #12155 )
2025-11-28 11:27:17 -06:00
Keith Burzinski and J. Nick Koston
2bc8a4a779
[wifi_info] Use callbacks instead of polling ( #10748 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-11-24 20:23:10 -06:00
J. Nick Koston
29374837c6
[wifi, captive_portal, web_server, wifi_info] Use stack allocation for MAC address formatting ( #11963 )
2025-11-18 17:06:34 -06:00
J. Nick Koston
6b522dfee6
[wifi_info] Reduce heap usage by up to 1.7KB in scan_results sensor ( #11723 )
2025-11-05 09:14:21 -06:00
J. Nick Koston
d75ae357c2
[wifi] Free scan results memory after connection (saves up to 1.2KB RAM) ( #11205 )
2025-10-14 14:25:31 -10:00
J. Nick Koston and Jesse Hills
b946cb160d
[wifi] Optimize WiFi MAC formatting to eliminate sprintf dependency ( #10715 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-09-14 22:35:27 +00:00
J. Nick Koston and Jesse Hills
f3c0c0c00c
Remove legacy unique_id field from entities ( #9022 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-16 04:56:49 +00:00
Keith Burzinski
46d962dcf1
[wifi, wifi_info] Tidy up/shorten more log messages ( #9151 )
2025-06-20 22:02:36 +12:00
tomaszduda23
2e58297a16
[code-quality] fix clang-tidy wifi related ( #7254 )
2024-08-14 07:58:30 +12:00
Jesse Hills
20c2246533
[code-quality] Organise wifi related imports ( #7153 )
2024-07-29 14:06:08 +12:00
Jimmy Hedman
76daefe21c
Add ethernet DNS text sensor and simplify DNS display format ( #6450 )
2024-04-12 14:03:08 +10:00
Jimmy Hedman
cf7cc179fb
Fix numbering of sensors ( #6305 )
2024-03-01 14:02:33 +13:00
Jimmy Hedman and Jesse Hills
f73518dbeb
Improve dualstack and IPv6 support ( #5449 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-02-27 21:16:20 +13:00
Christian and Jesse Hills
0de47e2a4e
Add DNS to Text info ( #4821 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-05-17 16:29:21 +12:00
Jesse Hills
7a242bb4ed
Binary Sensor codegen tidyup ( #3217 )
2022-02-18 10:39:59 +13:00
7ca9245735
wifi_info, reduce polling interval ( #3165 )
...
Co-authored-by: Jonas Bergler <jbergler@meraki.com >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-02-08 20:27:39 +13:00
Jesse Hills
69856286e8
Text sensor schema generator similar to sensor ( #3172 )
2022-02-08 17:23:45 +13:00
Jesse Hills
3c0414c420
Add Entity categories for Home Assistant ( #2636 )
2021-11-08 07:24:52 +13:00
Otto Winter
aec02afcdc
Fix clang-tidy header filter ( #2385 )
...
* Fix clang-tidy header filter
* Allow private members
* Fix clang-tidy detections
* Run clang-format
* Fix remaining detections
* Fix graph
* Run clang-format
2021-09-24 18:02:28 +02:00
Gustavo Ambrozio and Otto Winter
8bebf138ee
Wifi scan results ( #1605 )
...
* adding a scan results wifi text sensor
* Code comment
* Adding scan results to test
* Removing redundant call
* linting
* Better method to update wifi info
Co-authored-by: Otto Winter <otto@otto-winter.com >
* Getting loop back
At least for now.
* Trying out suggestion again
* Applying cr suggestions
Co-authored-by: Otto Winter <otto@otto-winter.com >
2021-09-22 13:44:09 +02: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
Otto Winter
a33bb32874
Convert components to async-def syntax ( #1823 )
...
* Convert components to async-def syntax
* Remove stray @coroutine
* Manual part
* Convert complexer components code to async-def
* Manual cleanup
* More manual cleanup
2021-05-24 21:45:31 +02:00
Otto Winter
2376a2c941
Convert components to async-def syntax ( #1821 )
2021-05-24 10:58:29 +02: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
Guillermo Ruffino
6123cb7c69
add mac address to wifi info ( #1030 )
...
* add mac address to wifi info
* add test
* lint
2020-04-24 20:58:32 -03:00
Guillermo Ruffino
9b28c732c6
fix wifi info ( #709 )
...
* fix wifi info
* lint time based cover
2019-08-29 21:34:29 -03:00
Otto Winter
9770bc371b
Remove duplicate TAG value
2019-08-27 20:27:56 +02:00
Otto Winter
54c9dd4173
Fix WiFi Info dump_config change
...
Fixes https://github.com/esphome/esphome/pull/698#discussion_r318212018
2019-08-27 20:07:48 +02:00
Pauline Middelink
071272a27f
Fix mqtt_text_sensor to honor unique_id when set. ( #698 )
...
* Fix mqtt_text_sensor to honor unique_id when set.
* Remove setting of unique_id in json tree, as the mqtt_component already does this, and in fact overrides what we do here.
* Add unqiue_id() and dump_config() to the wifi_info sensors.
2019-08-27 10:28:50 -07: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