1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 23:21:54 +00:00

[substitutions] Recursive substitutions and better jinja error handling and debug help (#10806)

This commit is contained in:
Javier Peletier
2025-10-20 03:17:16 +02:00
committed by GitHub
parent e6ce5c58d1
commit a59b1494d8
4 changed files with 100 additions and 30 deletions

View File

@@ -8,6 +8,7 @@ substitutions:
area: 25
numberOne: 1
var1: 79
double_width: 14
test_list:
- The area is 56
- 56
@@ -25,3 +26,4 @@ test_list:
- ord("a") = 97
- chr(97) = a
- len([1,2,3]) = 3
- width = 7, double_width = 14