Improve script config tests (#84433)

This commit is contained in:
Erik Montnemery 2022-12-22 12:16:23 +01:00 committed by GitHub
parent cb13418bab
commit 2c02abfdd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 87 additions and 2 deletions

View file

@ -1380,7 +1380,7 @@ async def test_automation_not_trigger_on_bootstrap(hass):
async def test_automation_bad_config_validation(
hass: HomeAssistant, caplog, broken_config, problem, details
):
"""Test bad trigger configuration which can be detected during validation."""
"""Test bad automation configuration which can be detected during validation."""
assert await async_setup_component(
hass,
automation.DOMAIN,