From 0f78004edea0424c2baafa9b30050f02d415fd70 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Sat, 24 Jul 2021 12:13:21 +0200 Subject: [PATCH] Add missing string interpolation (#53422) --- homeassistant/components/zha/core/device.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/zha/core/device.py b/homeassistant/components/zha/core/device.py index c6166419e39..9e8a8450ec1 100644 --- a/homeassistant/components/zha/core/device.py +++ b/homeassistant/components/zha/core/device.py @@ -503,7 +503,7 @@ class ZHADevice(LogMixin): names.append( { ATTR_NAME: f"unknown {endpoint.device_type} device_type " - "of 0x{endpoint.profile_id:04x} profile id" + f"of 0x{endpoint.profile_id:04x} profile id" } ) device_info[ATTR_ENDPOINT_NAMES] = names