diff --git a/homeassistant/components/fibaro/__init__.py b/homeassistant/components/fibaro/__init__.py index 44e55b37faa..4233953ca8c 100644 --- a/homeassistant/components/fibaro/__init__.py +++ b/homeassistant/components/fibaro/__init__.py @@ -235,7 +235,7 @@ class FibaroController: scenes = self._client.scenes.list() self._scene_map = {} for device in scenes: - if not device.visible: + if "visible" in device and not device.visible: continue device.fibaro_controller = self if device.roomID == 0: @@ -292,7 +292,11 @@ class FibaroController: # otherwise add the first visible device in the group # which is a hack, but solves a problem with FGT having # hidden compatibility devices before the real device - if last_climate_parent != device.parentId and device.visible: + if ( + last_climate_parent != device.parentId + and "visible" in device + and device.visible + ): self.fibaro_devices[dtype].append(device) last_climate_parent = device.parentId _LOGGER.debug(