Upgrade black to 20.8b1 (#39287)
This commit is contained in:
1 parent
0d7eec710c
commit
1c2ebdf307
574 files changed
+4389
-1725
No files matched your search
@@ -25,7 +25,8 @@ async def test_sensors(hass):
|
||||
|
||||
device_registry = await hass.helpers.device_registry.async_get_registry()
|
||||
reg_device = device_registry.async_get_device(
|
||||
identifiers={("powerwall", "TG0123456789AB_TG9876543210BA")}, connections=set(),
|
||||
identifiers={("powerwall", "TG0123456789AB_TG9876543210BA")},
|
||||
connections=set(),
|
||||
)
|
||||
assert reg_device.model == "PowerWall 2 (GW1)"
|
||||
assert reg_device.sw_version == "1.45.1"
|
||||
|
||||
Reference in new issue
Block a user