Comments (5)
Also new line with \n
, Would be good because it's rather easy to generate such strings from HA templates or within ESPHome lambdas.
from esphome.
Hello, I created PR with improvements (recolor and long modes) from this issue 😉
from esphome.
Yes, for recolor only we could use the same as btnmatrix
control offers, recolor: true
.
I used to implement dots in a label showing the current (hidden) tab with recolor. The active tab's dot was colored black, the others were grey, and all I had to do is to update the string in the label, based on the active tab.
EDIT: Done
from esphome.
Until recently it was possible to start with an empty string text: ""
. Now this doesn't work, it reverts to default "Text" of lvgl.
Reason to start with empty string is to display sensor values which may not yet be ready at boot, for example.
from esphome.
Until recently it was possible to start with an empty string
text: ""
. Now this doesn't work
Fixed.
The animation stuff should be a separate issue to implement custom animations generally.
from esphome.
Related Issues (20)
- Currently active page variable or sensor HOT 5
- Lambdas for widgets states/flags HOT 1
- `lvgl.is_idle` condition, timeout required HOT 7
- LVGL sensors HOT 1
- `transform_angle`, `transform_zoom` failure
- Font kerning HOT 1
- Formatted text for widget updates HOT 1
- QR code
- Graph as image HOT 2
- VNC: host binary crashes on client disconnect
- VNC and `graphical_display_menu` don't play nicely together HOT 3
- Custom component/code integration for pages, widgets, etc. HOT 5
- Lvgl on e-paper crash (TTGO T5_V2.3_2.13) HOT 2
- Compile error in LVGL after last commit. HOT 6
- FR: `udp` sensor from multiple providers
- FR: `udp` text sensor
- FR: `udp` arbitrary data with actions and triggers
- FR: `udp` repeat messages
- Page's `skip` option to be set at runtime
- FR: `udp` multiple instances HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esphome.