Fix LVGL needle value handling and image metadata access#137
Closed
agillis wants to merge 3 commits intoclydebarrow:lvgl-9.4from
Closed
Fix LVGL needle value handling and image metadata access#137agillis wants to merge 3 commits intoclydebarrow:lvgl-9.4from
agillis wants to merge 3 commits intoclydebarrow:lvgl-9.4from
Conversation
- Add lv_image_set_needle_value and lv_arc_set_needle_value functions - Update image metadata access to use nested structure - Change from dictionary to attribute access for image dimensions - Add image source property setter - Format KB_SPECIAL_KEYS array for readability Co-authored-by: agillis <385810+agillis@users.noreply.github.com>
…ling [WIP] Fix LVGL needle value handling and image metadata access
|
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/137/head
components: [lvgl]
refresh: 1h(Added by the PR bot) |
Owner
|
Thanks, had a quick look but have questions so will look at it in detail when I get back in a week or so. |
Author
|
I use a lot of meter pointers that are images. This is what broke it. I'm not sure how much testing is does with this type of meter pointer |
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 needle value handling and image metadata access
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:# Example config.yamlChecklist:
tests/folder).If user exposed functionality or configuration variables are added/changed: