Add tests for yaml syntax errors (#103908)

This commit is contained in:
Erik Montnemery
2023-11-13 14:04:58 +01:00
committed by GitHub
parent 2bdd969cf6
commit e64582ae9a
13 changed files with 132 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
iot_domain:
# Indentation error
- platform: non_adr_0007
option1: abc

View File

@@ -0,0 +1 @@
iot_domain: !include integrations/iot_domain.yaml

View File

@@ -0,0 +1,3 @@
# Indentation error
- platform: non_adr_0007
option1: abc

View File

@@ -0,0 +1 @@
iot_domain: !include_dir_list iot_domain

View File

@@ -0,0 +1,3 @@
# Indentation error
platform: non_adr_0007
option1: abc

View File

@@ -0,0 +1 @@
iot_domain: !include_dir_merge_list iot_domain

View File

@@ -0,0 +1,3 @@
# Indentation error
- platform: non_adr_0007
option1: abc

View File

@@ -0,0 +1,3 @@
homeassistant:
# Load packages
packages: !include_dir_named integrations

View File

@@ -0,0 +1,4 @@
# Indentation error
adr_0007_1:
host: blah.com
port: 123