J. Nick Koston
31f36df4ba
Reduce LightCall memory usage by 50 bytes per call ( #9333 )
2025-07-08 08:20:40 +12:00
Keith Burzinski
af0bb634c6
[light] Fix transitions with `lerp
` ( #9269 )
2025-06-30 05:05:52 +00:00
Keith Burzinski
21e1f3d103
[light] Memory optimizations ( #9260 )
2025-06-29 11:28:51 +00:00
DanielV
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
7ed095e635
Optimize LightState memory layout ( #9113 )
2025-06-17 13:07:45 -05:00
J. Nick Koston
3411e45a0a
Reserve memory for component and platform vectors ( #9042 )
2025-06-11 22:05:42 +12:00
Thomas Rupprecht
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
J. Nick Koston
c0b05ada1a
Reduce ESP_LOGCONFIG calls ( #9026 )
2025-06-09 00:02:30 +00:00
Keith Burzinski
d9a9e0aea3
Streamline setup() logging (k, l, m) ( #8928 )
2025-05-29 06:57:58 +12:00
Jesse Hills
bc0956019b
[config] Deprecate more *_SCHEMA constants ( #8763 )
2025-05-13 13:24:13 +12:00
Samu Németh
78543e1e15
Fixed comment typo in light_color_values.h ( #8050 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-01-08 22:37:52 +00:00
Jesse Hills
efe4c5e3bc
[light] Add `initial_state
` configuration ( #7577 )
2024-10-11 13:13:32 -04:00
RFDarter
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
Gábor Kiss
9001d1c0d4
Fix overflow in ESPColorCorrection object ( #7268 )
2024-08-16 10:35:00 +12:00
tomaszduda23
4cb174585c
[code-quality] fix readability-braces-around-statements ( #7273 )
2024-08-14 14:14:29 +12:00
PaoloTK
c5b1a8eb81
Add min and max brightness parameters for Light dim_relative Action ( #6971 )
2024-08-14 09:29:55 +12:00
tomaszduda23
4bd7ba0d30
[code-quality] Fix variable naming in base_light_effects ( #7237 )
2024-08-14 07:54:37 +12:00
tomaszduda23
c348efa401
[code-quality] Organise base entities imports ( #7208 )
2024-08-07 15:49:51 +12:00
RFDarter
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
tomaszduda23
f1584205af
[core] Rename ALWAYS_INLINE to ESPHOME_ALWAYS_INLINE ( #6636 )
2024-05-06 07:52:47 +12:00
Lucas Hartmann
5142d294f5
[light] Add transition_length to strobe effect. ( #6595 )
2024-04-29 07:47:15 +12:00
Daniel Kent
41b19504bc
Add get/set color temperature functions in Kelvin ( #5006 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2024-04-24 04:18:54 +00:00
Patrick
1775c73e53
Fix issue when setting cw/ww brightness via temperature ( #5976 )
2024-04-23 22:56:56 -05:00
Jesse Hills
3f015562d7
Housecleaning: Use walrus operator in light ( #6556 )
2024-04-17 01:26:36 -05:00
Bill Adams
fe789c8beb
Add "transformer_active" flag for use in effects. ( #6157 )
2024-02-07 12:13:55 +13:00
Matthew Campbell
c6a37da9da
Add gradient option to addressable color wipe effect ( #5689 )
2023-12-21 09:08:44 +09:00
Jacob Masen-Smith
9a8bc9484d
Fix the initial run of lambda light effects ( #5921 )
...
The timer used for `millis()` is a monotonic timer based on the last
start time of the device. If, for some reason, you pick a long
`update_interval` and try to apply it as soon as you start the device,
nothing happens because the device hasn't been on for longer than the
`update_interval`
2023-12-13 14:33:24 -06:00
Jesse Hills
dd0270207f
Allow pulse light effect to have separate on and off transition lengths ( #5659 )
2023-11-07 12:39:47 +13:00
Stijn Tintel
f9f335e692
light: fix compile with ESP-IDF >= 5 ( #4855 )
2023-05-31 13:49:31 +12:00
Christian
ae838b13a8
Update PulseLightEffect with range brightness ( #4820 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-05-16 08:29:00 +12:00
spacemanspiff2007
4eb69d6af5
Fix restore ( #4655 )
...
* ALWAYS_OFF for fan
* ALWAYS_OFF for light
* ALWAYS_OFF for switch
2023-04-12 21:28:02 +00:00
Fabian
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
14e38f0469
Upgrade clang-format to v13 ( #4535 )
...
* Upgrade clang-format to v13
* Apply clang-format-13 formatting changes
* Format
* Format bme_680
---------
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2023-03-20 03:38:41 +00:00
myhomeiot
57a1c207c2
Fix saving light state for restore modes LIGHT_RESTORE_AND_OFF/ON ( #4131 )
2022-12-22 20:57:53 +13:00
Jesse Hills
9273e3775b
Add vector includes ( #4080 )
2022-11-24 13:12:55 +13:00
André Klitzing
72cce391ab
Fix some typos found by codespell ( #3598 )
2022-06-27 18:02:46 -03:00
Guillermo Ruffino
f002a23d2d
Language schema 202204 ( #3492 )
2022-06-17 13:46:20 +12:00
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
Niorix
771162bfb1
light: add RESTORE_AND_OFF/RESTORE_AND_ON LightRestoreMode ( #3238 )
2022-02-21 12:52:14 +13:00
Oxan van Leeuwen
80d03a631e
Force braces around multi-line statements ( #3094 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2022-01-25 08:56:36 +13:00
Jesse Hills
1c51cac5ba
Add initial_run to regular lambda light effect ( #3059 )
2022-01-21 11:09:07 +13:00
Oxan van Leeuwen
6383eca54a
Clean-up random helper functions ( #3022 )
2022-01-10 13:50:26 +13:00
Jesse Hills
33f17f75a0
Upgrade ArduinoJson to 6.18.5 and migrate code ( #2844 )
2022-01-01 22:31:43 +13:00
tony
9c0506592b
Add light.on_state trigger ( #2868 )
2021-12-13 09:19:57 +13:00
Oxan van Leeuwen
607601b3a4
Enable a bunch of clang-tidy checks ( #2149 )
2021-12-02 09:03:51 +13:00
Oxan van Leeuwen
bb9793d5b7
Enable addressable light power supply based on raw values ( #2690 )
2021-11-11 11:53:25 +13:00
Oxan van Leeuwen
07a9cb910f
Fix validation of addressable light IDs ( #2588 )
2021-10-21 20:07:37 +02:00
Paul Monigatti
4896f870f0
Fix: Color modes not being correctly used in light partitions ( #2513 )
2021-10-14 21:04:50 +13:00
Paul Monigatti
867fecd157
Fix: Light flash not restoring previous LightState ( #2383 )
...
* Update light state when transformer has finished
* Revert writing direct to output
* Correct handling of zero-length light transformers
* Allow transformers to handle zero-length transitions, and check more boundary conditions when transitioning back to start state
* Removed log.h
* Fixed race condition between LightFlashTransformer.apply() and is_finished()
* clang-format
* Step progress from 0.0f to 1.0f at t=start_time for zero-length transforms to avoid divide-by-zero
2021-10-13 21:59:52 +02:00
Oxan van Leeuwen
05388d2dfc
Fix light state remaining on after turn off with transition ( #2509 )
2021-10-14 08:53:00 +13:00