Enable Ruff rule PT007 (#113764)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Sid 2024-03-19 09:01:07 +01:00 committed by GitHub
parent 089a3ab6d7
commit 00ec7f11f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
204 changed files with 908 additions and 921 deletions

View file

@ -52,7 +52,7 @@ async def test_one_sensor(hass: HomeAssistant, rfxtrx) -> None:
@pytest.mark.parametrize(
("state", "event"),
[["18.4", "0a520801070100b81b0279"], ["17.9", "0a52085e070100b31b0279"]],
[("18.4", "0a520801070100b81b0279"), ("17.9", "0a52085e070100b31b0279")],
)
async def test_state_restore(hass: HomeAssistant, rfxtrx, state, event) -> None:
"""State restoration."""