@property
def entity_registry_enabled_default(self) -> bool:
    'Return if the entity should be enabled when first added to the entity registry.'
    if hasattr(self, '_attr_entity_registry_enabled_default'):
        return self._attr_entity_registry_enabled_default
    if hasattr(self, 'entity_description'):
        return self.entity_description.entity_registry_enabled_default
    return True
Return if the entity should be enabled when first added to the entity registry.
@property
def entity_registry_enabled_default(self) -> bool:
    
    if hasattr(self, '_attr_entity_registry_enabled_default'):
        return self._attr_entity_registry_enabled_default
    if hasattr(self, 'entity_description'):
        return self.entity_description.entity_registry_enabled_default
    return True