[lvgl] Allow text substitution for NaN (#11712)

This commit is contained in:
Clyde Stubbs
2025-11-06 09:37:38 +10:00
committed by GitHub
parent ce5e608863
commit 20b6e0d5c2
4 changed files with 55 additions and 9 deletions

View File

@@ -726,6 +726,12 @@ lvgl:
- logger.log:
format: "Spinbox value is %f"
args: [x]
- lvgl.label.update:
id: hello_label
text:
format: "value is %.1f now"
args: [x]
if_nan: "Value unknown"
- button:
styles: spin_button
id: spin_down