diff --git a/homeassistant/components/homematicip_cloud/__init__.py b/homeassistant/components/homematicip_cloud/__init__.py index 7bc5f33d42f..ac93ef05b85 100644 --- a/homeassistant/components/homematicip_cloud/__init__.py +++ b/homeassistant/components/homematicip_cloud/__init__.py @@ -60,11 +60,14 @@ async def async_setup_entry(hass, entry): # Register hap as device in registry. device_registry = await dr.async_get_registry(hass) home = hap.home + # Add the HAP name from configuration if set. + hapname = home.label \ + if not home.name else "{} {}".format(home.label, home.name) device_registry.async_get_or_create( config_entry_id=home.id, identifiers={(DOMAIN, home.id)}, manufacturer='eQ-3', - name=home.label, + name=hapname, model=home.modelType, sw_version=home.currentAPVersion, )