mirror of
https://github.com/home-assistant/core.git
synced 2025-07-28 15:47:12 +00:00
Fix missing EntityDescription names in Overkiz (#95583)
* Fix labels * Update homeassistant/components/overkiz/entity.py * Check if description.name is string --------- Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
This commit is contained in:
parent
3fbc026d5a
commit
8b159d0f47
@ -119,3 +119,5 @@ class OverkizDescriptiveEntity(OverkizEntity):
|
||||
# In case of sub device, use the provided label
|
||||
# and append the name of the type of entity
|
||||
self._attr_name = f"{self.device.label} {description.name}"
|
||||
elif isinstance(description.name, str):
|
||||
self._attr_name = description.name
|
||||
|
Loading…
x
Reference in New Issue
Block a user