mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 16:15:08 +02:00
Sync fibaro entity visible state (#72379)
This commit is contained in:
@@ -490,6 +490,9 @@ class FibaroDevice(Entity):
|
||||
self.ha_id = fibaro_device.ha_id
|
||||
self._attr_name = fibaro_device.friendly_name
|
||||
self._attr_unique_id = fibaro_device.unique_id_str
|
||||
# propagate hidden attribute set in fibaro home center to HA
|
||||
if "visible" in fibaro_device and fibaro_device.visible is False:
|
||||
self._attr_entity_registry_visible_default = False
|
||||
|
||||
async def async_added_to_hass(self):
|
||||
"""Call when entity is added to hass."""
|
||||
|
Reference in New Issue
Block a user