1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-22 21:22:22 +01:00

[substitutions] add missing safe globals tests (#10814)

This commit is contained in:
Javier Peletier
2025-09-22 06:29:15 +02:00
committed by GitHub
parent 5062e7a0e1
commit 68eb4091b8
2 changed files with 6 additions and 0 deletions

View File

@@ -22,3 +22,6 @@ test_list:
- The pin number is 18 - The pin number is 18
- The square root is: 5.0 - The square root is: 5.0
- The number is 80 - The number is 80
- ord("a") = 97
- chr(97) = a
- len([1,2,3]) = 3

View File

@@ -20,3 +20,6 @@ test_list:
- The pin number is ${pin.number} - The pin number is ${pin.number}
- The square root is: ${math.sqrt(area)} - The square root is: ${math.sqrt(area)}
- The number is ${var${numberOne} + 1} - The number is ${var${numberOne} + 1}
- ord("a") = ${ ord("a") }
- chr(97) = ${ chr(97) }
- len([1,2,3]) = ${ len([1,2,3]) }