J. Nick Koston
25c4af777c
Merge branch 'loop_done_enable_isr' into integration
2025-06-18 14:18:35 +02:00
J. Nick Koston
ec186e6324
rename
2025-06-18 14:17:45 +02:00
J. Nick Koston
93c72c6e6c
Merge branch 'loop_done_enable_isr' into integration
2025-06-18 12:15:24 +02:00
J. Nick Koston
7b9bd70729
Add enable_loop_soon_from_isr
2025-06-18 12:09:12 +02:00
J. Nick Koston
2e534ce41e
Reduce CPU overhead by allowing components to disable their loop() ( #9089 )
2025-06-18 21:49:25 +12:00
J. Nick Koston
7a763712c5
tidy
2025-06-15 18:58:32 -05:00
J. Nick Koston
0b26e537d4
Merge branch 'loop_done' into integration
2025-06-15 18:40:46 -05:00
J. Nick Koston
98c6233ec3
Merge branch 'dev' into loop_done
2025-06-15 18:40:33 -05:00
J. Nick Koston
8a06c4380d
partition
2025-06-15 18:32:36 -05:00
J. Nick Koston and Jesse Hills
c17a3b6fcc
Reduce Component memory usage by 20 bytes per component ( #9080 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-06-16 09:34:37 +12:00
J. Nick Koston
28d11553e0
Reduce Component blocking threshold memory usage by 2 bytes per component ( #9081 )
2025-06-16 09:33:38 +12:00
J. Nick Koston
ea24fa5b78
Merge branch 'loop_done' into integration
2025-06-15 01:52:27 -05:00
J. Nick Koston
bb2bb128f7
remove trailing .
2025-06-15 01:52:17 -05:00
J. Nick Koston
1d52fceafa
rename, cleanup
2025-06-15 01:26:25 -05:00
J. Nick Koston
99186ed864
rename, cleanup
2025-06-15 01:25:59 -05:00
J. Nick Koston
4f29039b41
mark_loop_done
2025-06-14 22:17:24 -05:00
J. Nick Koston
0e6bfb62cd
mark_loop_done
2025-06-14 21:58:18 -05:00
J. Nick Koston
374c33e8dc
Optimize Component and Application state storage from uint32_t to uint8_t ( #9082 )
2025-06-15 14:48:53 +12:00
J. Nick Koston
2de9be0589
Merge branch 'loop_runtime_stats' into integration
2025-06-14 19:43:45 -05:00
J. Nick Koston
c56af9d52b
Merge branch 'component_state_oversized' into integration
2025-06-14 17:03:31 -05:00
J. Nick Koston
05f18e2828
Optimize Component and Application state storage from uint32_t to uint8_t
2025-06-14 17:01:57 -05:00
J. Nick Koston
72804caab2
Merge branch 'warn_if_blocking_over_' into integration
2025-06-14 16:43:26 -05:00
J. Nick Koston
80cbe5c7c9
Reduce Component blocking threshold memory usage by 2 bytes per component
2025-06-14 16:42:08 -05:00
J. Nick Koston
13824624f8
Reduce Component memory usage by 20 bytes per component
2025-06-14 16:27:45 -05:00
J. Nick Koston
c955897d1b
Merge remote-tracking branch 'upstream/dev' into loop_runtime_stats
2025-05-27 11:39:45 -05:00
J. Nick Koston
574aabdede
Reduce number of calls to fetch time in the main loop ( #8804 )
2025-05-19 07:48:57 +12:00
J. Nick Koston
3857cc9c83
runtime stats
2025-05-13 00:51:14 -05:00
Stanislav Meduna
6de6a0c82c
Only warn if the component blocked for a longer time than the last time ( #8064 )
2025-05-01 11:57:01 +12:00
Clyde Stubbs
9637ef35bd
[component] Show error message for failed component ( #8478 )
2025-04-07 09:26:34 +00:00
Keith Burzinski
12cdeca48a
[various] clang-tidy fixes for #7822 ( #7874 )
2024-11-28 11:23:20 +13:00
Jesse Hills
63fc8ab10a
[core] Const-ify some Component fields ( #6831 )
2024-05-30 02:59:15 -05:00
Clyde Stubbs
97ff87b718
Remove misleading tag/line in messages ( #6495 )
2024-04-08 16:13:12 +12:00
Clyde Stubbs
2c67d83976
Include "Failed" status in config log. ( #6482 )
2024-04-04 23:21:56 -05:00
Clyde Stubbs
774cbde1b6
Show component warnings and errors in the log; ( #6400 )
2024-03-20 12:56:43 +13:00
Edward Firmo and Jesse Hills
0b9a022ef6
Shows component operation time in ms ( #6388 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-03-18 10:01:25 +13:00
Clyde Stubbs
8267b3274c
Enable networking and some other components on host platform ( #6114 )
2024-01-19 10:10:23 +09:00
De Cock Xavier
a33b8abce8
Feat/component poller suspend ( #5423 )
2023-10-03 09:25:13 +13:00
Jesse Hills
fd9cca565b
Log component long time message at warning level ( #5048 )
2023-07-04 15:02:53 +12:00
Fabian and Your Name
3773c385c7
Ensure component is ready before update. ( #4523 )
...
Co-authored-by: Your Name <you@example.com >
2023-03-07 04:16:42 +00:00
Dan Jackson
029ac75a04
set_retry: add retries remaining parameter to the provided function ( #4251 )
2023-01-18 14:26:32 +13:00
Jadson Santos and Jesse Hills
41b5cb06d3
New platform ethernet_info from component text_sensor ( #3811 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-10-19 13:44:48 +13:00
Oxan van Leeuwen
7da12a878f
Enable readability-redundant-member-init check ( #3097 )
2022-01-23 20:34:43 +13:00
Oxan van Leeuwen
607601b3a4
Enable a bunch of clang-tidy checks ( #2149 )
2021-12-02 09:03:51 +13:00
448e1690aa
Add retry handler ( #2721 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2021-11-18 11:59:40 +13:00
Paul Monigatti and Oxan van Leeuwen
471b82f727
EntityBase Refactor ( #2418 )
...
* Renamed Nameable to EntityBase (cpp)
* Renamed NAMEABLE_SCHEMA to ENTITY_BASE_SCHEMA (Python)
* Renamed cg.Nameable to cg.EntityBase (Python)
* Remove redundant use of CONF_NAME from esp32_touch
* Remove redundant use of CONF_NAME from mcp3008
* Updated test
* Moved EntityBase from Component.h and Component.cpp
* Added icon property to EntityBase
* Added CONF_ICON to ENTITY_BASE_SCHEMA and added setup_entity function to cpp_helpers
* Added MQTT component getters for icon and disabled_by_default
* Lint
* Removed icon field from MQTT components
* Code generation now uses setup_entity to setENTITY_BASE_SCHEMA fields
* Removed unused import
* Added cstdint include
* Optimisation: don't set icon if it is empty
* Remove icon from NumberTraits and SelectTraits
* Removed unused import
* Integration and Total Daily Energy sensors now inherit icons from their parents during code generation
* Minor comment correction
* Removed redundant icon-handling code from sensor, switch, and text_sensor
* Update esphome/components/tsl2591/tsl2591.h
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
* Added icon property to binary sensor, climate, cover, and fan component tests
* Added icons for Binary Sensor, Climate, Cover, Fan, and Light to API
* Consolidated EntityBase fields in MQTT components
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2021-10-10 10:37:05 +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
Oxan van Leeuwen
1e8e471dec
Introduce call_dump_config() indirection ( #2325 )
2021-09-20 11:16:31 +02:00
Oxan van Leeuwen
0cd24c629a
Compatibility with clang-tidy v14 ( #2272 )
2021-09-13 09:35:55 +02:00
Sergey V. DUDANOV
4e120a291e
Midea support v2 ( #2188 )
2021-09-09 09:10:02 +12:00
Otto Winter
1b89174558
Store source package in Component for debugging ( #2070 )
2021-08-24 06:49:19 +12:00