def refresh_rate(self, value):
        """Override the refresh_rate attribute."""
        if isinstance(value, (int, float)):
            self._refresh_rate = value
Override the refresh_rate attribute.