From c07b146e58e3bcad44c651b516f736c36ee01606 Mon Sep 17 00:00:00 2001 From: Tom Harris Date: Thu, 22 Oct 2020 16:04:06 -0400 Subject: [PATCH] Fix issue in python > 3.8.2 (#42213) --- homeassistant/components/insteon/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/insteon/__init__.py b/homeassistant/components/insteon/__init__.py index b0e6b8d10a2..0188671e07f 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -159,7 +159,7 @@ async def async_setup_entry(hass, entry): identifiers={(DOMAIN, str(devices.modem.address))}, manufacturer="Smart Home", 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}", )