Correct knx device info (#96482)

This commit is contained in:
Erik Montnemery 2023-07-13 18:17:13 +02:00 committed by GitHub
parent 8440f14a08
commit 580fd92ef2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ class KNXInterfaceDevice:
_device_id = (DOMAIN, f"_{entry.entry_id}_interface") _device_id = (DOMAIN, f"_{entry.entry_id}_interface")
self.device = self.device_registry.async_get_or_create( self.device = self.device_registry.async_get_or_create(
config_entry_id=entry.entry_id, config_entry_id=entry.entry_id,
default_name="KNX Interface", name="KNX Interface",
identifiers={_device_id}, identifiers={_device_id},
) )
self.device_info = DeviceInfo(identifiers={_device_id}) self.device_info = DeviceInfo(identifiers={_device_id})