diff --git a/python-avd/pyavd/_eos_designs/structured_config/base/__init__.py b/python-avd/pyavd/_eos_designs/structured_config/base/__init__.py index 4372f033ad6..5ca7e84ebec 100644 --- a/python-avd/pyavd/_eos_designs/structured_config/base/__init__.py +++ b/python-avd/pyavd/_eos_designs/structured_config/base/__init__.py @@ -607,10 +607,7 @@ def ptp(self) -> dict | None: raise AristaAvdMissingVariableError(msg) priority2 = self.shared_utils.id % 256 - default_auto_clock_identity = default( - get(self._hostvars, "ptp_settings.auto_clock_identity"), - True, # noqa: FBT003 - ) + default_auto_clock_identity = get(self._hostvars, "ptp_settings.auto_clock_identity", default=True) if get(self.shared_utils.switch_data_combined, "ptp.auto_clock_identity", default=default_auto_clock_identity) is True: clock_identity_prefix = get(self.shared_utils.switch_data_combined, "ptp.clock_identity_prefix", default="00:1C:73") default_clock_identity = f"{clock_identity_prefix}:{priority1:02x}:00:{priority2:02x}"