J. Nick Koston
5b840c1662
[codegen] Fix templatable bool type to use cg.bool_ ( #15569 )
2026-04-08 19:39:12 +00:00
J. Nick Koston and Copilot
a8b7c7a4ac
[core] Add TemplatableFn for 4-byte function-pointer templatable storage ( #15545 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-08 08:38:00 -04: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
J. Nick Koston
86a1b4cf69
[select][fan] Use StringRef for on_value/on_preset_set triggers to avoid heap allocation ( #13324 )
2026-01-18 19:51:11 -10:00
Clyde Stubbs and J. Nick Koston
c5e4a60884
[select] Add condition for testing select option ( #13267 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-01-17 08:35:40 +11:00
Jesse Hills
09d89000ad
[core] Remove deprecated schema constants ( #11591 )
2025-10-29 00:14:02 -05: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
c308e03e92
[select] Fix new_select() not forwarding constructor args while preserving keyword-only options parameter ( #10036 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com >
Co-authored-by: jesserockz <3060199+jesserockz@users.noreply.github.com >
2025-08-06 08:09:36 +12: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
0cf9b05afd
[select] Tidy schema generation ( #8775 )
2025-05-13 05:07:57 +00:00
Jesse Hills
dcd786d21c
[config] Deprecate other *_SCHEMA constants ( #8748 )
2025-05-12 14:43:38 -05:00
Jesse Hills
8399d894c1
[config] Use `cv.UNDEFINED instead of adhoc _UNDEF` objects ( #8725 )
2025-05-09 08:18:52 +00: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
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
034c196ad8
[core] Update some coroutine priorities ( #6755 )
2024-05-16 16:46:16 +12:00
Jesse Hills
8eff3435e7
Housecleaning: Use walrus operator in select ( #6557 )
2024-04-17 01:26:49 -05:00
Regev Brody
36c0e2416d
add select_schema to select component ( #4545 )
...
* add select_schema to select component
* add select_schema to select component
* fix cr
2023-03-26 20:01:35 +00:00
Jesse Hills
d220d41182
Bump python min to 3.9 ( #3871 )
2022-10-05 20:09:27 +13:00
Maurice Makaay and Maurice Makaay
44b68f140e
Select enhancement ( #3423 )
...
Co-authored-by: Maurice Makaay <mmakaay1@xs4all.net >
2022-05-10 16:41:16 +12:00
Krzysztof Białek
f643a46bbf
Allow setting custom command_topic for Select and Number components ( #2714 )
2021-11-14 14:59:34 +01:00
Jesse Hills
3c0414c420
Add Entity categories for Home Assistant ( #2636 )
2021-11-08 07:24:52 +13:00
Jesse Hills
c2623a08e3
Fix select.set using lambda ( #2633 )
2021-10-27 08:27:51 +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
Jesse Hills and Otto Winter
93796491af
Allow entities to be disabled by default in HA ( #2113 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com >
2021-08-10 13:45:31 +12:00
Jesse Hills and Otto Winter
76991cdcc4
Add select entities and implement template select ( #2067 )
...
Co-authored-by: Otto Winter <otto@otto-winter.com >
2021-08-02 20:00:51 +12:00