Add missing string interpolation (#53422)

This commit is contained in:
Samuel Tardieu 2021-07-24 12:13:21 +02:00 committed by GitHub
parent ffa7962a37
commit 0f78004ede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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