mirror of
https://github.com/home-assistant/core.git
synced 2025-06-10 08:07:06 +00:00
Fix issue in python > 3.8.2 (#42213)
This commit is contained in:
parent
d1c8485297
commit
c07b146e58
@ -159,7 +159,7 @@ async def async_setup_entry(hass, entry):
|
|||||||
identifiers={(DOMAIN, str(devices.modem.address))},
|
identifiers={(DOMAIN, str(devices.modem.address))},
|
||||||
manufacturer="Smart Home",
|
manufacturer="Smart Home",
|
||||||
name=f"{devices.modem.description} {devices.modem.address}",
|
name=f"{devices.modem.description} {devices.modem.address}",
|
||||||
model=f"{devices.modem.model} (0x{devices.modem.cat:02x}, 0x{devices.modem.subcat:02x})",
|
model=f"{devices.modem.model} ({devices.modem.cat!r}, 0x{devices.modem.subcat:02x})",
|
||||||
sw_version=f"{devices.modem.firmware:02x} Engine Version: {devices.modem.engine_version}",
|
sw_version=f"{devices.modem.firmware:02x} Engine Version: {devices.modem.engine_version}",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user