1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-27 13:13:50 +00:00

[tests] Fix millis() ambiguity in component tests with gps component

This commit is contained in:
J. Nick Koston
2025-10-23 06:50:24 -06:00
parent 917deac7cb
commit f9b08491cc
10 changed files with 19 additions and 19 deletions

View File

@@ -25,7 +25,7 @@ sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
if (esphome::millis() > 10000) {
return 42.0;
}
return 0.0;