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

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

This reverts commit f9b08491cc.
This commit is contained in:
J. Nick Koston
2025-10-23 08:19:48 -06:00
parent ba4ce200d8
commit cce5b58de4
10 changed files with 19 additions and 19 deletions

View File

@@ -2,14 +2,14 @@ sensor:
- platform: template
id: template_temperature1
lambda: |-
if (esphome::millis() > 10000) {
if (millis() > 10000) {
return 0.6;
}
return 0.0;
- platform: template
id: template_temperature2
lambda: |-
if (esphome::millis() > 20000) {
if (millis() > 20000) {
return 0.8;
}
return 0.0;