1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

Add some components to the new testing framework (P) (#6213)

This commit is contained in:
Keith Burzinski
2024-04-22 22:38:51 -05:00
committed by GitHub
parent 8eeb28d797
commit 057f473a4a
173 changed files with 5245 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
wifi:
ssid: MySSID
password: password1
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
prometheus:
include_internal: true
relabel:
template_sensor1:
id: hellow_world
name: Hello World

View File

@@ -0,0 +1,21 @@
wifi:
ssid: MySSID
password: password1
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
prometheus:
include_internal: true
relabel:
template_sensor1:
id: hellow_world
name: Hello World

View File

@@ -0,0 +1,21 @@
wifi:
ssid: MySSID
password: password1
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
prometheus:
include_internal: true
relabel:
template_sensor1:
id: hellow_world
name: Hello World

View File

@@ -0,0 +1,21 @@
wifi:
ssid: MySSID
password: password1
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
prometheus:
include_internal: true
relabel:
template_sensor1:
id: hellow_world
name: Hello World

View File

@@ -0,0 +1,21 @@
wifi:
ssid: MySSID
password: password1
sensor:
- platform: template
id: template_sensor1
lambda: |-
if (millis() > 10000) {
return 42.0;
} else {
return 0.0;
}
update_interval: 60s
prometheus:
include_internal: true
relabel:
template_sensor1:
id: hellow_world
name: Hello World