[lvgl] Add radial and conical gradient support#143
Draft
Copilot wants to merge 1 commit into
Draft
Conversation
Copilot created this pull request from a session on behalf of
clydebarrow
May 3, 2026 10:07
View session
Agent-Logs-Url: https://github.com/clydebarrow/esphome/sessions/442ec099-d163-4102-b27a-70af7755a583 Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
756db22 to
7e4f769
Compare
|
To use the changes from this PR as an external component, add the following to your ESPHome configuration YAML file: external_components:
- source: github://clydebarrow/esphome@pull/143/head
components: [lvgl]
refresh: 1h(Added by the PR bot) |
Memory Impact AnalysisComponents:
📊 Component Memory Breakdown
🔍 Symbol-Level Changes (click to expand)Changed Symbols
New Symbols (top 15)
Removed Symbols (top 15)
This analysis runs automatically when components change. Memory usage is measured from a representative test configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this implement/fix?
LVGL 9.5.0 added support for radial and conical gradient types via
lv_grad_radial_init(),lv_grad_radial_set_focal(), andlv_grad_conical_init(). This PR adds the necessary ESPHome Python configuration code to expose these new gradient types, alongside a newLV_GRAD_EXTENDconstant (PAD/REPEAT/REFLECT) used by all three positional gradient types (linear, radial, conical).The existing HOR/VER gradient handling is unchanged. The new
LINEARtype exposes the fulllv_grad_linear_init()API (previously only accessible via the HOR/VER shortcuts).Types of changes
Related issue or feature (if applicable):
Pull request in esphome-docs with documentation (if applicable):
Test Environment
Example entry for
config.yaml:Checklist:
tests/folder).If user exposed functionality or configuration variables are added/changed: