Improve lists in integrations [V-W] (#113252)

This commit is contained in:
Joost Lekkerkerker 2024-03-13 19:38:04 +01:00 committed by GitHub
parent 41215aa954
commit 49fc59548a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 126 additions and 163 deletions

View file

@ -46,8 +46,7 @@ async def test_setup(hass: HomeAssistant, requests_mock: requests_mock.Mocker) -
for entity in new_entities:
entity.update()
for entity in new_entities:
entities.append(entity)
entities.extend(new_entities)
uri = re.compile(RESOURCE + "*")
requests_mock.get(uri, text=load_fixture("wsdot/wsdot.json"))