J. Nick Koston
ec60da893f
[core] Move state logging to client-side formatting, console to VERBOSE ( #15155 )
2026-03-25 19:45:06 +00:00
J. Nick Koston
f3cddcee21
[core] Store parent pointers as members to enable inline Callback storage ( #14923 )
2026-03-20 15:25:40 -10:00
J. Nick Koston
8fe36cde23
[core] Replace std::function with lightweight Callback in CallbackManager ( #14853 )
2026-03-18 18:41:05 -10:00
J. Nick Koston
1f1b20f4fe
[core] Pack entity string properties into PROGMEM-indexed uint8_t fields ( #14171 )
2026-03-03 07:03:24 -10:00
J. Nick Koston
48b5cae6c4
[api] Use StringRef for user service string arguments ( #13974 )
2026-03-02 10:32:44 +13:00
Nate Clark and Claude Sonnet 4.5
1411868a0b
[mqtt.cover] Add option to publish states as JSON payload ( #12639 )
...
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-11 11:40:27 -06:00
J. Nick Koston and Copilot
e4ad2082bc
[core] Add PROGMEM_STRING_TABLE macro for flash-optimized string lookups ( #13659 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-06 15:26:16 +01:00
Copilot
4a579700a0
[cover] Add operation-based triggers and fix repeated trigger firing ( #13471 )
2026-02-05 06:52:14 +11:00
J. Nick Koston
b4f63fd992
[core] Add LOG_ENTITY_ICON/DEVICE_CLASS/UNIT_OF_MEASUREMENT macros ( #13578 )
2026-01-28 05:11:30 +00: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
4ddd40bcfb
[core] Add PROGMEM string comparison helpers and use in cover/valve/helpers ( #13545 )
2026-01-26 17:19:50 -10:00
J. Nick Koston
49c881d067
[core] Optimize and normalize entity state publishing logs with >> format ( #13236 )
2026-01-15 10:13:05 +00:00
J. Nick Koston
3e313014e1
[core] Migrate entities to use lazy callbacks ( #12580 )
2025-12-19 19:04:21 -10:00
J. Nick Koston
6943803176
[cover] Store cover state strings in flash on ESP8266 ( #12196 )
2025-12-01 21:26:13 -06:00
J. Nick Koston
10bdb47eae
[cover] Modernize to C++17 nested namespaces ( #11935 )
2025-11-16 20:37:06 -06:00
J. Nick Koston
7abb6d4998
[core] Implement Global Controller Registry to reduce RAM usage ( #11772 )
2025-11-09 17:34:08 -06:00
J. Nick Koston and Jesse Hills
1446e7174a
[core] Reduce action framework argument copies by 83% ( #11704 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-11-05 01:23:24 +00:00
Jesse Hills
09d89000ad
[core] Remove deprecated schema constants ( #11591 )
2025-10-29 00:14:02 -05:00
Jesse Hills
319ba4a504
[cover] Clean up deprecated functions from 2021.9 ( #11391 )
2025-10-20 04:03:09 +00:00
tomaszduda23
054b215d8d
[nrf52] add more tests ( #10694 )
2025-09-29 14:11:57 -04:00
J. Nick Koston
086f1982fa
[core] Use get_device_class_ref() in entity platform logging to avoid string allocations ( #10531 )
2025-09-03 14:26:53 +12:00
J. Nick Koston
d1276dc6df
[core] Replace magic coroutine priority numbers with self-documenting CoroPriority enum ( #10518 )
2025-09-02 21:41:50 +00: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
Jesse Hills
a45137434b
[quality] Convert remaining `to_code to async` ( #10271 )
2025-08-20 14:34:45 +12:00
J. Nick Koston
58504662d8
[cover] Reduce flash usage by optimizing validation messages ( #10130 )
2025-08-08 10:44:47 +10:00
J. Nick Koston
296442d8f1
[core] Fix compilation errors when platform sections have no entities ( #10023 )
2025-08-02 13:59:20 -10:00
b18ff48b4a
[API] Sub devices and areas ( #8544 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2025-06-25 12:03:41 +00:00
J. Nick Koston
3411e45a0a
Reserve memory for component and platform vectors ( #9042 )
2025-06-11 22:05:42 +12:00
Jesse Hills
bc0956019b
[config] Deprecate more *_SCHEMA constants ( #8763 )
2025-05-13 13:24:13 +12:00
RFDarter and Jesse Hills
86a34f4b17
[web_server] v3 entity grouping ( #6833 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-10-07 15:52:26 +13:00
tomaszduda23
c348efa401
[code-quality] Organise base entities imports ( #7208 )
2024-08-07 15:49:51 +12:00
peter--s
310f850ee4
Update cover.h for open() and close() compiler warnings ( #6936 )
2024-06-19 13:28:03 +12:00
RFDarter and Jesse Hills
a7fc1a6298
[web_server] add entity sorting for v3 ( #6445 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-05-30 13:54:20 +12:00
Jesse Hills
fa1adf7528
Housecleaning: Use walrus operator in cover ( #6562 )
2024-04-17 01:28:01 -05:00
Davrosx
35ef4aad60
Update cover.h for compile errors with stop() ( #4879 )
2023-05-24 07:52:34 +12:00
Alexander Momchilov and Jesse Hills
bef5b38d49
Add supports_stop trait to Cover ( #3897 )
...
* Add "stop" trait to Cover
* Add `supports_stop` to Cover protobuf msg
* Run `script/api_protobuf/api_protobuf.py`
... followed by `script/clang-format -i`
* Add `has_stop` field to template Cover
* Set `has_stop` during Cover codegen
* Set `supports_stop` trait on all other Cover types
* Bump APIVersion to 1.8
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-04-23 20:51:32 +00:00
Fabian and Your Name
afc2b3b74f
Keep Device Class in Flash. ( #4639 )
...
* Keep Device Class in Flash.
* Remove blank line
---------
Co-authored-by: Your Name <you@example.com >
2023-04-20 03:53:35 +00:00
Fabian and Your Name
cb2fcaa9b1
EntityBase Name can stay in flash. (#4594 )
...
* `EntityBase`can stay in flash.
* Trying to please the CI.
---------
Co-authored-by: Your Name <you@example.com >
2023-03-28 06:38:56 +00:00
Oxan van Leeuwen
ba1416cc0e
Drop deprecated entity property base methods ( #4539 )
2023-03-09 00:08:45 +00:00
Oxan van Leeuwen
9aed758d1b
Automate syncing device classes with HA ( #4438 )
...
* Sync device classes with HA
* Rename blacklist
2023-02-16 00:28:12 +00:00
Maurice Makaay and Maurice Makaay
0d1028be2e
Cleanup deprecated EntityBase::hash_base() ( #3525 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net >
2022-06-08 09:13:11 +12:00
Keilin Bickar and Jesse Hills
21803607e7
Add new Lock core component ( #2958 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-02-04 07:24:31 +13:00
Oxan van Leeuwen
89e7448007
Remove deprecated attribute from virtual entity methods ( #3056 )
2022-01-16 23:40:15 +01:00
Oxan van Leeuwen
073828235f
Deprecate virtual methods to set entity properties ( #3021 )
2022-01-10 13:32:39 +01:00
Chris Nussbaum
b4f57972fb
Add on_open and on_closed triggers to cover ( #2488 )
2021-10-12 15:39:21 +13:00
definitio
a1f9b0d7f2
Add configuration for cover topics ( #2472 )
2021-10-10 17:54:07 +02: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
2eb5f89d82
Add cover toggle support ( #1809 )
...
* Add cover toggle support
Step through open/stop/close/stop sequence with every toggle
* Move the cover toggle logic to perform()
* Add clang-tidy CI suggestion
* Implement cover toggle action as cover trait
* Handle toggle correctly if cover fully closed on POR
* Fix CI finding
* Add deprecated warning
* Don't add already deprecated interface
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
* Don't add already deprecated interface
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
* Don't add already deprecated interface
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
Co-authored-by: Mueller, Daniel <daniel.mueller@karlstorz.com >
Co-authored-by: Oxan van Leeuwen <oxan@oxanvanleeuwen.nl >
2021-09-27 22:31:15 +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
f76685fccf
Cease using deprecated Cover methods in automations ( #2326 )
2021-09-19 18:31:31 +02:00