Enable Ruff rule PT007 (#113764)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
089a3ab6d7
commit
00ec7f11f0
204 changed files with 908 additions and 921 deletions
|
@ -91,7 +91,7 @@ async def test_one_light(hass: HomeAssistant, rfxtrx) -> None:
|
|||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
("state", "brightness"), [["on", 100], ["on", 50], ["off", None]]
|
||||
("state", "brightness"), [("on", 100), ("on", 50), ("off", None)]
|
||||
)
|
||||
async def test_state_restore(hass: HomeAssistant, rfxtrx, state, brightness) -> None:
|
||||
"""State restoration."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue