1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 15:12:06 +00:00

Add additional coverage for yaml_util (#10674)

This commit is contained in:
J. Nick Koston
2025-09-11 00:01:11 -05:00
committed by GitHub
parent fe1371f4dc
commit c45efe8f40
8 changed files with 255 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
# This file should be ignored
platform: template
name: "Hidden Sensor"

View File

@@ -0,0 +1 @@
This is not a YAML file and should be ignored

View File

@@ -0,0 +1,4 @@
platform: template
name: "Sensor 1"
lambda: |-
return 42.0;

View File

@@ -0,0 +1,4 @@
platform: template
name: "Sensor 2"
lambda: |-
return 100.0;

View File

@@ -0,0 +1,4 @@
platform: template
name: "Sensor 3 in subdir"
lambda: |-
return 200.0;