Enable Ruff FLY002 rule (#115112)
Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
This commit is contained in:
parent
35d3f2b29b
commit
9bf87329da
41 changed files with 474 additions and 659 deletions
|
@ -306,7 +306,7 @@ async def setup_test_component(
|
|||
|
||||
config_entry, pairing = await setup_test_accessories(hass, [accessory], connection)
|
||||
entity = "testdevice" if suffix is None else f"testdevice_{suffix}"
|
||||
return Helper(hass, ".".join((domain, entity)), pairing, accessory, config_entry)
|
||||
return Helper(hass, f"{domain}.{entity}", pairing, accessory, config_entry)
|
||||
|
||||
|
||||
async def assert_devices_and_entities_created(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue