Move sun conditions to the sun integration (#144742)

This commit is contained in:
Erik Montnemery
2025-05-13 00:03:37 +02:00
committed by GitHub
parent e69ca0cf80
commit 0128d85999
7 changed files with 1405 additions and 1340 deletions

View File

@@ -2529,9 +2529,8 @@ async def test_validate_config_works(
"state": "paulus",
},
(
"Unexpected value for condition: 'non_existing'. Expected and, device,"
" not, numeric_state, or, state, sun, template, time, trigger, zone "
"@ data[0]"
"Invalid condition \"non_existing\" specified {'condition': "
"'non_existing', 'entity_id': 'hello.world', 'state': 'paulus'}"
),
),
# Raises HomeAssistantError