Avoid scheduling a task to add each entity when not using update_before_add (#110951)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
J. Nick Koston 2024-02-23 10:49:26 -10:00 committed by GitHub
parent 3aecec5082
commit d9addc45f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 194 additions and 59 deletions

View file

@ -1992,7 +1992,7 @@ async def test_non_numeric_validation_raise(
state = hass.states.get(entity0.entity_id)
assert state is None
assert ("Error adding entities for domain sensor with platform test") in caplog.text
assert ("for domain sensor with platform test") in caplog.text
@pytest.mark.parametrize(